Instance Method


Sent by the default notification center immediately before the application object is initialized.


optional func applicationWillFinishLaunching(_ notification: Notification)



A notification named willFinishLaunchingNotification. Calling the object method of this notification returns the NSApplication object itself.

See Also

Launching Applications

func applicationDidFinishLaunching(Notification)

Sent by the default notification center after the application has been launched and initialized but before it has received its first event.

NSApplicationDidFinishLaunching User Info Keys

The following constants define the keys that can be present in the didFinishLaunchingNotification.