NSButtonCell Bindings
NSButtonCell Bindings
- Subject: NSButtonCell Bindings
- From: Kenny Carruthers <email@hidden>
- Date: Fri, 8 Aug 2008 00:38:41 -0700
Referring to the Cocoa Binding Reference documentation:
http://developer.apple.com/documentation/Cocoa/Reference/CocoaBindingsRef/BindingsText/NSButtonCell.html
NSButtonCell has a binding for 'argument' and 'target', which are
accessible inside Interface Builder. However, these binding values are
not accessible if the NSButtonCell is of type 'Check' (Checkbox) or,
it appears of any sort of "toggle" type either. Any idea why these
bindings are not available for checkboxes and/or toggle type buttons?
For reference, I have an NSTableView with a list of items. I'd like
each item in the list to have a checkbox beside it's name that when
clicked, would toggle some information on a map. So I need to find a
way to get a checkbox in the list, that is bound to the managed object
represented by the list item so that when I handle the check/uncheck
action, I know which one was checked.
Thoughts?
Thank You,
Kenny
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden