NSMatrix bindings
NSMatrix bindings
- Subject: NSMatrix bindings
- From: Christian Ziegler <email@hidden>
- Date: Fri, 18 Mar 2011 09:45:39 +0100
Hi all!
I'm having hard times figuring out how to bind an NSMatrix properly. I got an NSMatrix with NSButtonCells (checkboxes) and I want to somehow bind to my model which of these checkboxes are selected. What should work is binding the content objects of the NSMatrix to an ArrayController and fill the arrayController's content with NSButtonCells programmatically. By assigning tags I can then determine which checkboxes are selected. Unfortunately I have to add the checkbox cells programmatically this way and can not use the IB. I don't fully understand the NSMatrix bindings and frankly the documentation is not really helpful, so I am wondering whether there is a better/easier way to do it.
I would appreciate if anyone can shed some light into this.
Cheers
Chris
_______________________________________________
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