Re: NSTableView again
Re: NSTableView again
- Subject: Re: NSTableView again
- From: XTAL <email@hidden>
- Date: Tue, 19 Oct 2004 17:34:30 +0200
i know it can be optimized, at the place of [cellCheck boolValue] there was a different expression in the if statement earlier. i used
return [[rowData objectForKey:@"checkCol"] boolValue]; in the final version.
On 19. Oct 2004, at 05:10PM, stephane sudre wrote:
On Oct 19, 2004, at 3:28 PM, XTAL wrote:
yes,
correct! for the folks who will maybe read this thread later, i used the following code:
NSDictionary *rowData = [tableData objectAtIndex:i];
NSNumber *cellCheck = [rowData objectForKey:@"colCheck"];
if ([cellCheck boolValue]) { return TRUE; }
else { return FALSE; };
Please, use:
return [cellCheck boolValue];
instead.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden