Creating NSMatrix of NSImageCells
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