Binding
Binding
- Subject: Binding
- From: Livio Isaia <email@hidden>
- Date: Tue, 14 Apr 2009 18:05:50 +0200
Is it possible to connect a variable of an object I created to an
NSArrayController variable?
I mean:
I have a NSWindowController "MyWindowController" which is also the nib
file's owner type class.
In the nib file I created an NSArrayController "MyArrayController"
connected with a NSTableView.
"MyWindowController" has a variable "seletedItem" and a method
(void)setSelectedItem:(NSNumber *)value. How can I bind "selectedItem"
to a "MyArrayController"'s attribute (e.g selection.item)? And is it
possible to do it in InterfaceBuilder (the MyWindowController's bindings
Inspector window is just blank)?
Thank you in advance,
best regards,
livio.
PS: I hope it's all clear...
_______________________________________________
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