You need to log in to create posts and topics.
binding to custom object
1,678 Posts
#1 · September 20, 2012, 5:30 am
Quote from Forum Archives on September 20, 2012, 5:30 amPosted by: nerimic <nerimic@...>
http://stackoverflow.com/questions/605721/binding-a-custom-nsview-does-it-demand-creating-an-ibpluginThis 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
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
Click for thumbs down.0Click for thumbs up.0