On 2011 Mar 05, at 08:20, Amy Heavey wrote:

> This sounds to me like something that should be doable with the 'magic' of 
> bindings

Well, bindings should certainly be involved, but there is more to it than that. 
 The most important is the view that will display your "checkbox column".  
Assuming that the user can add and delete 'categories', this view will need to 
grow or shrink and/or scroll with the number of objects it contains, and it 
would be nice to avoid writing that code.  I would study these options:

(a) an NSTableView in source list style.
(b) an NSCollectionView
(c) Last resort, a custom view that you code yourself, containing an array of 
checkboxes

Then, the 'categories' in your data model should interface to this view via an 
array controller, and that's where you'll use bindings.

_______________________________________________

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