NSTableView + setObjectValue + NSCell
NSTableView + setObjectValue + NSCell
- Subject: NSTableView + setObjectValue + NSCell
- From: Jean-François Brouillet <email@hidden>
- Date: Sat, 25 Mar 2006 11:55:31 +0000
Hi.
I created an NSTableView and specified that the contents of each
of its NSTableColumn should hold instances of NSTextField. All
of this within IB.
I've set-up all the links everywhere (delegate + dataSource) the
upshot being that my controller method
- (void)
tableView: (NSTableView *) table
setObjectValue: (id) objectValue
forTableColumn: (NSTableColumn *) col
row: (int) row ;
is called.
If I do:
NSCell * cell = (NSCell *) [col dataCell] ;
I'm expecting cell to be an NSTextField instance.
My question is this:
At the time I am asked to change the contents of that specific
cell what difference should I be expecting to observe between
[cell stringValue]
and
[objectValue stringValue]
The reason I'm asking is because I'm getting a few "can't understand
selector"
messages, and I'm slowly narrowing down the possible causes.
Many Thanks
--
JFB
_______________________________________________
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