Re: NSTableView again
Re: NSTableView again
- Subject: Re: NSTableView again
- From: XTAL <email@hidden>
- Date: Tue, 19 Oct 2004 15:28:43 +0200
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; };
danke!
xtal
On 19. Oct 2004, at 03:02PM, Andreas Hoeschler wrote:
Hi,
i'm stuck at this point. how do i retrieve the state of the checkbox? i tried the following, but it doesn't work:
NSTableView calls the setObjectValue:... method of NSTableViewDataSource if you check the checkBox. If remember that correctly you get an [NSNumber numberWithInt:1] for the value.
Regards,
Andreas
_______________________________________________
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