Re: When does AppDelegate:applicationDidFinishLaunching get called?


Sandor Szatmari
 

There’s a test app attached to demonstrate…

Sandor

On Jan 15, 2020, at 07:49, Sandor Szatmari via Groups.Io <admin.szatmari.net@...> 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.

Cheers,
Sandor


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

Hi,

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
Dave






<tester.zip>

Join {cocoa@apple-dev.groups.io to automatically receive all group messages.