• 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: Mac OS X - AppDelegate applicationDidFinishLaunching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Mac OS X - AppDelegate applicationDidFinishLaunching (From: Dave <email@hidden>)
 >Re: Mac OS X - AppDelegate applicationDidFinishLaunching (From: Kyle Sluder <email@hidden>)
 >Re: Mac OS X - AppDelegate applicationDidFinishLaunching (From: Dave <email@hidden>)

  • Prev by Date: Re: Create a NSURL as a way to validate urls - not working
  • Next by Date: App extension killed by system (memory limit?)
  • Previous by thread: Re: Mac OS X - AppDelegate applicationDidFinishLaunching
  • Next by thread: Re: Mac OS X - AppDelegate applicationDidFinishLaunching
  • Index(es):
    • Date
    • Thread