Re: Outlets Not Connected In awakeFromNib
Re: Outlets Not Connected In awakeFromNib
- Subject: Re: Outlets Not Connected In awakeFromNib
- From: Uli Kusterer <email@hidden>
- Date: Thu, 03 Mar 2011 12:31:55 +0100
On 02.03.2011, at 10:54, Andreas Grosam wrote:
> I have a very basic custom UIViewController with its own associated nib file. This view controller is the "root view controller" of a Navigation Controller which is itself embedded within a Split View Controller which is defined in another nib - say the main.nib.
tl;dr
But do you have any objects that are part of several NIBs? I.e. a view controller that is instantiated by one NIB, but the view controller has a NIB of its own that it loads in turn? In that case, you'll get -awakeFromNib twice. Once when the containing NIB is instantiated, and a second time after you load the containED NIB.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.masters-of-the-void.com
_______________________________________________
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