• 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: ViewControllers and window nibs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ViewControllers and window nibs


  • Subject: Re: ViewControllers and window nibs
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 8 May 2009 07:25:24 -0400

On Fri, May 8, 2009 at 5:51 AM, Derek Chesterfield <email@hidden> wrote:
> I have a *vaguely* similar question: In IB, is it possible to connect an
> object in one NIB to an outlet in another NIB? Dragging a connection in IB
> across NIBs doesn't seem to work, so I suspect it is not possible??

No, it's not.

> PS: I know other solutions, e.g. code or bindings, but I am just wondering
> why I can't do it in IB...

Because it doesn't make sense.  While things within a nib are
reconstituted together, there's no logical relationship between two
nibs.  You might instantiate a nib dozens of times (think of your
document nib) but only instantiate other nibs once (think your main
menu nib).  What sense would it make to wire things up between the
nibs?  And how would IB know that it doesn't make sense?

--Kyle Sluder
_______________________________________________

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

References: 
 >ViewControllers and window nibs (From: David Scheidt <email@hidden>)
 >Re: ViewControllers and window nibs (From: "email@hidden" <email@hidden>)
 >Re: ViewControllers and window nibs (From: Derek Chesterfield <email@hidden>)

  • Prev by Date: problem with NSTimer
  • Next by Date: Re: Disabling check box cells
  • Previous by thread: Re: ViewControllers and window nibs
  • Next by thread: Re: ViewControllers and window nibs
  • Index(es):
    • Date
    • Thread