AppDelegate

@main
class AppDelegate : UIResponder, UIApplicationDelegate

AppDelegate class for the app

  • The backdrop for your app’s user interface and the object that dispatches events to your views.

    Declaration

    Swift

    var window: UIWindow?
  • Tells the delegate that the launch process is almost done and the app is almost ready to run.

    Declaration

    Swift

    func application(
        _ application: UIApplication,
        didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
    ) -> Bool