Contents

applicationDidFinishLaunching(_:)

Tells the delegate that the app’s initialization is complete but it hasn’t received its first event.

Declaration

@MainActor optional func applicationDidFinishLaunching(_ notification: Notification)

Parameters

Discussion

Delegates can implement this method to perform further initialization. This method is called after the application’s main run loop has been started but before it has processed any events. If the application was launched by the user opening a file, the delegate’s application(_:openFile:) method is called before this method. If you want to perform initialization before any files are opened, implement the applicationWillFinishLaunching(_:) method in your delegate, which is called before application(_:openFile:).)

See Also

Related Documentation

Launching Applications