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

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


  • Follow-Ups:
    • Re: Binding Across Nibs
      • From: mmalc crawford <email@hidden>
  • Prev by Date: Re: Custom NSMenuItems on the fly?
  • Next by Date: NSSavePanel and allowing unknown extensions
  • Previous by thread: Re: Custom NSMenuItems on the fly?
  • Next by thread: Re: Binding Across Nibs
  • Index(es):
    • Date
    • Thread