Forum Navigation
You need to log in to create posts and topics.

binding to custom object

Posted by: nerimic <nerimic@...>

http://stackoverflow.com/questions/605721/binding-a-custom-nsview-does-it-demand-creating-an-ibplugin

This is a very interesting trick.
To binding a custom object (exposed in implementation) in a subclass of NSView you could bind it with a different standard binding (i.e. toolTip) and then edit the .xib file to use the custom binding. 

Then in IB you see the binding to the correct object.
With this trick and the magic of Core Data I've written my first Cocoa application for OSX very quickly.
Michele.


To unsubscribe, e-mail: fbcocoa-unsubscribe@welovegod.org
For additional commands, e-mail: fbcocoa-help@freegroups.net