NSTableView & different columns
NSTableView & different columns
- Subject: NSTableView & different columns
- From: Sanri Parov <email@hidden>
- Date: Sat, 2 Jul 2005 18:37:35 +0200
Hi everybody,
I've got an NSTableView with 2 columns: the first is composed by
NSTextCells the second by NSButtonCells.
As far as I don't really understand the difference between
- (id)tableView:(NSTableView *)aTableView
objectValueForTableColumn:(NSTableColumn *)aTableColumn
row:(int)rowIndex
and
- (void)tableView:(NSTableView *)aTableView setObjectValue:anObject
forTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex
I'm stuck with this problem: I can't write TableViews.
What I'm trying to do is: in the first column (NSTextCell) set the
value of rowIndex, while in the second one (NSButtonCell) set the cell
on or off if I encounter certain conditions.
Thanks for every kind help.
--
Sanri Parov
_______________________________________________
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