• 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
Bindling to array of NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Bindling to array of NSImage
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: Re: NSSlider and NSSliderCell
  • Next by Date: Re: NSSlider and NSSliderCell
  • Previous by thread: Re: remote proxy object somehow not correct
  • Next by thread: Re: Bindling to array of NSImage
  • Index(es):
    • Date
    • Thread