On Tue, Mar 3, 2015, at 10:41 AM, Dave wrote: > Hi, > > I’ve got a very simple test application with just one window and a few > controls. I’ve for some initialisation code in the AppDelegate > applicationDidFinishLaunching method. > > While tracking down a problem I’ve noticed that my WindowController class > awakeFromNib method is getting called before > applicationDidFinishLaunching. Is this normal?
Does your window controller live in MainMenu.nib? If so, then yes. > If so, then where is the > best place to do one-off initialisation when the App is first launched? Do it in -applicationDidFinishLaunching:. Usually you create your app's main window controller here. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
