I have an NSImageWell (or NSView). I am using an NSCollectionView and have
it bound to an ArrayController which is bound to an array of NSDictionary.

The dicts have several keys, among them @name and @iconpath

@iconpath is a NSSting that contains a path to an NSImage.

How can I bind though my NSArrayController, but have code that converts my
path to an NSImage to return to the view inside NSCollectionView

Obviously I know how to derive the NSImage from the path, but since the
NSImage in not in the array of dicts, how can I bind it?

I basically need the system to call a method I write to take a path and
return an NSImage.

Thanks,

Trygve


_______________________________________________

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

Reply via email to