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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to