Re: Binding Across Nibs
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