On Apr 19, 2011, at 3:06 PM, Quincey Morris wrote: > On Apr 19, 2011, at 14:26, Todd Heberlein wrote: > > ... > Another alternative (and a slightly better one, I'd suggest, since it's more > direct) is to provide the NSImage* directly via a data source. It works fine > to use a data source for some columns but bindings for others. > ...
Or just add a method on your data object that vends the appropriate image based on its own properties, and then just bind to that method name as the Model Key Path. (this is much simpler than the value transformer) Dave _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com