• 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
Custom NSCell and Bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom NSCell and Bindings


  • Subject: Custom NSCell and Bindings
  • From: "Carter R. Harrison" <email@hidden>
  • Date: Fri, 24 Jun 2011 09:33:38 -0400

It's a pretty typical situation.  I've got my model objects stored in an NSSet.  An NSArrayController that is bound to the NSSet.  And then an NSTableView with one NSTableColumn bound to the arrangedObjects.name property of the NSArrayController.  It works great.  Now I've introduced a custom NSCell object into the NSTableView.  The custom cell displays a title, a subtitle, and a status image - all of which I want to be able to bind to 3 separate properties of the model object.  How do I do this?  Right now with the 'value' binding bound to the arrangedObjects.name property, on the title of my custom cell updates when the model updates.  If the subtitle or status update in the model object the cell does not update.  Any help is greatly appreciated.
_______________________________________________

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: Custom NSCell and Bindings
      • From: Sean McBride <email@hidden>
  • Prev by Date: Re: Animating handwriting
  • Next by Date: Re: TimeZone DST support
  • Previous by thread: Re: TimeZone DST support
  • Next by thread: Re: Custom NSCell and Bindings
  • Index(es):
    • Date
    • Thread