From 08e03e7c04ad1c6253254b0e611c4f3866ba380c Mon Sep 17 00:00:00 2001 From: "dima.avdeev" <99798741+dima-avdeev-jb@users.noreply.github.com> Date: Mon, 27 Feb 2023 13:02:30 +0300 Subject: [PATCH] UIKit samples, change deprecated annotation @UIApplicationMain -> @main (#2800) --- components/resources/demo/iosApp/iosApp/iosApp.swift | 2 +- experimental/examples/codeviewer/iosApp/iosApp/iosApp.swift | 2 +- .../examples/falling-balls-mpp/iosApp/iosApp/iosApp.swift | 2 +- experimental/examples/imageviewer/iosApp/iosApp/iosApp.swift | 2 +- experimental/examples/minesweeper/iosApp/iosApp/iosApp.swift | 2 +- experimental/examples/todoapp-lite/iosApp/iosApp/iosApp.swift | 2 +- experimental/examples/visual-effects/iosApp/iosApp/iosApp.swift | 2 +- .../examples/widgets-gallery/iosApp/iosApp/iosApp.swift | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/components/resources/demo/iosApp/iosApp/iosApp.swift b/components/resources/demo/iosApp/iosApp/iosApp.swift index b42016a6fc..0f563c50c9 100644 --- a/components/resources/demo/iosApp/iosApp/iosApp.swift +++ b/components/resources/demo/iosApp/iosApp/iosApp.swift @@ -1,7 +1,7 @@ import UIKit import shared -@UIApplicationMain +@main class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? diff --git a/experimental/examples/codeviewer/iosApp/iosApp/iosApp.swift b/experimental/examples/codeviewer/iosApp/iosApp/iosApp.swift index b42016a6fc..0f563c50c9 100644 --- a/experimental/examples/codeviewer/iosApp/iosApp/iosApp.swift +++ b/experimental/examples/codeviewer/iosApp/iosApp/iosApp.swift @@ -1,7 +1,7 @@ import UIKit import shared -@UIApplicationMain +@main class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? diff --git a/experimental/examples/falling-balls-mpp/iosApp/iosApp/iosApp.swift b/experimental/examples/falling-balls-mpp/iosApp/iosApp/iosApp.swift index b42016a6fc..0f563c50c9 100644 --- a/experimental/examples/falling-balls-mpp/iosApp/iosApp/iosApp.swift +++ b/experimental/examples/falling-balls-mpp/iosApp/iosApp/iosApp.swift @@ -1,7 +1,7 @@ import UIKit import shared -@UIApplicationMain +@main class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? diff --git a/experimental/examples/imageviewer/iosApp/iosApp/iosApp.swift b/experimental/examples/imageviewer/iosApp/iosApp/iosApp.swift index b42016a6fc..0f563c50c9 100644 --- a/experimental/examples/imageviewer/iosApp/iosApp/iosApp.swift +++ b/experimental/examples/imageviewer/iosApp/iosApp/iosApp.swift @@ -1,7 +1,7 @@ import UIKit import shared -@UIApplicationMain +@main class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? diff --git a/experimental/examples/minesweeper/iosApp/iosApp/iosApp.swift b/experimental/examples/minesweeper/iosApp/iosApp/iosApp.swift index b42016a6fc..0f563c50c9 100644 --- a/experimental/examples/minesweeper/iosApp/iosApp/iosApp.swift +++ b/experimental/examples/minesweeper/iosApp/iosApp/iosApp.swift @@ -1,7 +1,7 @@ import UIKit import shared -@UIApplicationMain +@main class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? diff --git a/experimental/examples/todoapp-lite/iosApp/iosApp/iosApp.swift b/experimental/examples/todoapp-lite/iosApp/iosApp/iosApp.swift index b42016a6fc..0f563c50c9 100644 --- a/experimental/examples/todoapp-lite/iosApp/iosApp/iosApp.swift +++ b/experimental/examples/todoapp-lite/iosApp/iosApp/iosApp.swift @@ -1,7 +1,7 @@ import UIKit import shared -@UIApplicationMain +@main class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? diff --git a/experimental/examples/visual-effects/iosApp/iosApp/iosApp.swift b/experimental/examples/visual-effects/iosApp/iosApp/iosApp.swift index b42016a6fc..0f563c50c9 100644 --- a/experimental/examples/visual-effects/iosApp/iosApp/iosApp.swift +++ b/experimental/examples/visual-effects/iosApp/iosApp/iosApp.swift @@ -1,7 +1,7 @@ import UIKit import shared -@UIApplicationMain +@main class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? diff --git a/experimental/examples/widgets-gallery/iosApp/iosApp/iosApp.swift b/experimental/examples/widgets-gallery/iosApp/iosApp/iosApp.swift index b42016a6fc..0f563c50c9 100644 --- a/experimental/examples/widgets-gallery/iosApp/iosApp/iosApp.swift +++ b/experimental/examples/widgets-gallery/iosApp/iosApp/iosApp.swift @@ -1,7 +1,7 @@ import UIKit import shared -@UIApplicationMain +@main class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow?