Bug in tableColumnWithIdentifier: ?
Bug in tableColumnWithIdentifier: ?
- Subject: Bug in tableColumnWithIdentifier: ?
- From: Yann Bizeul <email@hidden>
- Date: Sun, 13 Oct 2002 17:02:11 +0200
Hi,
How can this be possible ? I can't get a column by his identifier, but
I can get the good identifier when getting the column via tableColumns:
... weird, isn't it ?
Thanks for your answers !
-(void)checkboxChanged:(id)sender
{
NSLog(@"%@",[ sender tableColumnWithIdentifier:@"service"]);
// returns 2002-10-13 16:57:59.825 TSM[22380] (null)
NSLog(@"%@",[[[ sender tableColumns ] objectAtIndex: 1 ] identifier
]);
// returns 2002-10-13 16:57:59.825 TSM[22380] service
NSCell *currentCell = [ [ sender
tableColumnWithIdentifier:@"service"] dataCellForRow:[sender
selectedRow]];
NSString *service = [ currentCell objectValue ];
}
--
Yann BIZEUL
LINAGORA
30, rue Saint-Augustin
75002 Paris
Til. 01 58 18 68 35
Std. 01 58 18 68 28
Mob. 06 60 43 00 88
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.