• 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
Re: Binding Across Nibs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding Across Nibs


  • Subject: Re: Binding Across Nibs
  • From: mmalc crawford <email@hidden>
  • Date: Thu, 5 Jul 2007 14:12:30 -0700


On Jul 5, 2007, at 2:05 PM, Mike McNamara wrote:

That NSTableView, the parent window and NSArrayController reside in an NSWindowController subclass in another Nib. How do I set a content outlet across Nib files?

Just as you would any other binding, by following suitable key paths.
The window controller knows what it's document is, so you can bind to [File's Owner].document.whatever...
Or instantiate an NSObjectController and set its content to [File's Owner].document and bind to that.


mmalc

_______________________________________________

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 Across Nibs
      • From: Scott Anguish <email@hidden>
References: 
 >Binding Across Nibs (From: Mike McNamara <email@hidden>)

  • Prev by Date: NSSavePanel and allowing unknown extensions
  • Next by Date: Re: Custom NSMenuItems on the fly?
  • Previous by thread: Binding Across Nibs
  • Next by thread: Re: Binding Across Nibs
  • Index(es):
    • Date
    • Thread