Hello,
I am still a Cocoa beginner and looking for some help. Based on Using a Table
Data Source in the Table View Programming Guide I have initiated my Table View
with 2 columns...one for filenames and one for checkboxes (NSButtonCell).
Everything is fine except this method:
- (void)tableView:(NSTableView *)aTableView
setObjectValue:anObject
forTableColumn:(NSTableColumn *)aTableColumn
row:(int)rowIndex
I can't seem to get the right syntax to tell my Table View to toggle the state.
I am able to initiate my Table View with the checkboxes in the ON state (other
method) but this method is where I'm stuck. My source is a NSArray *filenames
and my table column is "column2." If someone could help show me how to code
this I would appreciate it very much not just to get me passed this point but
also so I can learn what I'm doing wrong. :-)
Thank you very much,
Rick
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]