May somebody please tell me, what I'm supposed to return in the "-
(id)tableView:(NSTableView *)aTableViewobjectValueForTableColumn:
(NSTableColumn *)aTableColumn row:(int)rowIndex" method of my table
view's data source, for a column consisting of NSLevelIndicatorCells?
An instance of NSNumber. For example, "return [NSNumber numberWithInt:myValue];"
I only dragged them into the table, but couldn't find any
documentation, showing how to set their value. Is there any
documentation on how to use them?
In Cocoa, any time you think a control should take a number (int,
float, double, etc) but you have to return an id, you should wrap it
in NSNumber.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden