I am confused by what seem to be two possible approaches to placing popup button cells into a table.

If I understand the documentation, one can:

a) set the popup button cell as the data cell of the (subclassed) column

OR

b) return the popup button cell in the table datasource method:

- (id)  tableView: (NSTableView *) tableView
objectValueForTableColumn: (NSTableColumn *) tableColumn
row: (int) row

Which is considered the correct approach? Is there a basic tutorial on this?

Thanks.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to