• 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
populate a custom sub-class with data from bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

populate a custom sub-class with data from bindings


  • Subject: populate a custom sub-class with data from bindings
  • From: "Adam Gerson" <email@hidden>
  • Date: Wed, 19 Mar 2008 19:05:43 -0400

I want to use the custom Apple subclass ImageAndTextCell.h in my
NSOutlineView. How would I hook up the Text and Images used by this
custom sub-class to a TreeController's data? The "value" binding
already populates the text of the cell. Is there away for me to add a
second binding to the sub-class and set it programatically? Then with
a ValueTransformer I could populate the NSImage as well.

I am reading through "Cocoa Bindings Programming Topics"

Thanks,
Adam
_______________________________________________

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

  • Prev by Date: Re: Using C++ classes from Objective C
  • Next by Date: Where's the buffer overrun?
  • Previous by thread: Re: Correct procedure for safely swapping a text storage?
  • Next by thread: Where's the buffer overrun?
  • Index(es):
    • Date
    • Thread