• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSMatrix bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSMatrix bindings
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)
  • Next by Date: Re: NSTask is intermittently failing to return results.
  • Previous by thread: Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)
  • Next by thread: Re: NSMatrix bindings
  • Index(es):
    • Date
    • Thread