Re: When does AppDelegate:applicationDidFinishLaunching get called?



Ahhh, you mean, awakeFromNib in the AppDelegate not the window/view controller. I think I was trying to avoid tying the initialisation to a NIB (in case I ever created it programmatically), but I guess in the case of the NSApplication object it will always be from a NIB so it’s safe.

Thanks a lot

On 15 Jan 2020, at 13:49, Sandor Szatmari <> wrote:

I see different behaviour. Here’s a test app. No matter what I do, -awakeFromNib is always called first. I tried it both in the AppDelegate, and in the ViewController subclass.


On Jan 15, 2020, at 05:51, Dave <dave@...> wrote:


A little more on this.

If I uncheck “Is Initial Controller”, then applicationDidFinishLaunching gets calls as expected.

So I put the code back to instantiate it manually and all works as expected.

All the Best


Join { to automatically receive all group messages.