• 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
Creating NSMatrix of NSImageCells
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating NSMatrix of NSImageCells


  • Subject: Creating NSMatrix of NSImageCells
  • From: PCWiz <email@hidden>
  • Date: Sun, 11 Oct 2009 14:20:15 -0600

I need to create an NSMatrix with NSImageCells bound to an array controller. So the content of the NSMatrix is bound to an NSArray (so there are as many NSImageCells in the matrix as there are objects in the array), then the image path of the NSImageCells are bound to a key called "iconPath" in the Array Controller.

And then when an image cell is clicked in the matrix, I need it to perform an action. I know how to use bindings, and I have a concept like this working in an NSTableView, but I have never used NSMatrix before, so are there any good resources or sample code that would help me get started with this?

Thanks
_______________________________________________

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


  • Follow-Ups:
    • Re: Creating NSMatrix of NSImageCells
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Screensaver won't run on 10.6 even after porting to 64-bit
  • Next by Date: Re: Where to send different messages while RunLoop is running
  • Previous by thread: Re: Where to send different messages while RunLoop is running
  • Next by thread: Re: Creating NSMatrix of NSImageCells
  • Index(es):
    • Date
    • Thread