Bindling to array of NSImage
Bindling to array of NSImage
- Subject: Bindling to array of NSImage
- From: "Tom Harrington" <email@hidden>
- Date: Mon, 15 Jan 2007 18:13:35 -0700
My model class has a mutable array of NSImage objects. I would like
to have these images displayed in an NSTableColumn. So:
- My nib has an array controller with its contentArray bound to the
array of images (with the object class name set to "NSImage").
- My NSTableColumn's value binding is set to the array controller's
arrangedObjects key.
- The NSTableColum is using an NSImageCell.
However the images don't appear in the table. Instead I get console
messages reading "NSImageCell's object value must be an NSImage."
I've verified that the NSMutableArray contains only NSImage objects.
Why don't the images appear, and why do I get this message when it
would seem that the value is an NSImage?
--
Tom Harrington
email@hidden
AIM: atomicbird1
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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