Re: Mac OS X - AppDelegate applicationDidFinishLaunching
Re: Mac OS X - AppDelegate applicationDidFinishLaunching
- Subject: Re: Mac OS X - AppDelegate applicationDidFinishLaunching
- From: Kyle Sluder <email@hidden>
- Date: Tue, 03 Mar 2015 11:35:08 -0600
On Tue, Mar 3, 2015, at 11:13 AM, Dave wrote:
> Actually, awakeFromNIB is getting called twice for some reason, but I’m
> sure the above will fix it.
On OS X, -awakeFromNib is sent to File's Owner as well as to every
object in the nib. So you're seeing it called twice: once because the
window controller is inside the main nib, and again because it's acting
as File's Owner of the window's nib.
--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