Re: When does AppDelegate:applicationDidFinishLaunching get called?


The thing is, this Code is supposed to initialize the App Sub-system before any other parts of the App get called. If I put it in AwakeFromNib then the initalization will be dependant of which Window or View Controller gets called first.

I had thought that applicationDidFinishLaunching was a safe place to put this code, but for some reason it doesn’t seem to work anymore.

All the Best

On 14 Jan 2020, at 17:32, Sandor Szatmari <> wrote:

-(void)awakeFromNib might work for you.


On Jan 14, 2020, at 11:13, Dave <dave@...> wrote:

Mac Project.
MacOS 10.14.6

Hi All,

I have some code that needs to be initialized before any Window/View are displayed. The App was working ok, but it looks like something has changed?

I have a call to initialise AppDelegate:applicationDidFinishLaunching BUT, the Initial Window/View Controller viewDidAppear method is being called before applicationDidFinishLaunching. Is this correct behaviour and if so where is the best place to initialise things?

Thanks a lot
All the Best

Join { to automatically receive all group messages.