• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Binding
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: updating NSTextField with key validation?
  • Next by Date: Garbage collection C++ objects
  • Previous by thread: Re: updating NSTextField with key validation?
  • Next by thread: Re: Binding
  • Index(es):
    • Date
    • Thread