Binding Across Nibs
Binding Across Nibs
- Subject: Binding Across Nibs
- From: Mike McNamara <email@hidden>
- Date: Thu, 5 Jul 2007 15:05:15 -0600
Hello -
I've been toying around with bindings lately so that I might actually
start employing them in real projects. While I think I have a decent
grasp of the basics, for the life of me I am totally unable to figure
out how to do the following:
I have a normal AppController NSObject that has an NSMutableArray
instance variable that contains data I'd like to display in an
NSTableView via bindings and an NSArrayController. No problem!
Here's the portion that I simply cannot grasp or get right however...
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? Is there a common method for
achieving this?
There are lots of fantastic tutorials on bindings where all of the
MVC trinity live in the same Nib. I haven't been able to find one
that deals with the scenario above. Any and all pointers would very
much be appreciated!
Thanks!
Mike
_______________________________________________
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