populate a custom sub-class with data from bindings
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