Here's an example of a key binding for an item that is an NSCollectionViewItem (thus representedObject)
image.bind "value", toObject:item, withKeyPath:"representedObject.user.profile_image", options:nil
So I am binding the value of the image to the item object's keypath: representedObject.user.profile_image
It looks like its complaining that the array of objects that you are placing in ArrayController is causing and exception that it is not KVC compliant?
I guess that's the crux of my question - how do I make an object KVC compliant? Like I said, I tried attr_accessor employes, etc but didn't seem to have any luck. Thanks for the help. I'll try to get the code in a state to demonstrate my problem and send it up. Laurent - I'd be happy to send through any exercises. I'll send through a collection once I get some more done. Brad
As Laurent indicated, if you post what you have we might be able to help.
Best,
Rich
Could you upload your code somewhere so that we can have a look at it?
Also, it's great that you're converting the book exercises to MacRuby. If you are willing to contribute them after, I would be glad to package them in the distribution :-)
Laurent _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel