@@ -10,25 +10,17 @@ import UIKit
1010
1111@main
1212class AppDelegate : UIResponder , UIApplicationDelegate {
13- func application( _ application: UIApplication , didFinishLaunchingWithOptions launchOptions: [ UIApplication . LaunchOptionsKey : Any ] ? ) -> Bool {
13+ func application(
14+ _ application: UIApplication ,
15+ didFinishLaunchingWithOptions launchOptions: [ UIApplication . LaunchOptionsKey : Any ] ? ) -> Bool
16+ {
1417 // Override point for customization after application launch.
1518
16- RegisterContainer ( ) . setup ( )
19+ // RegisterContainer().setup()
1720
18- return true
19- }
20-
21- // MARK: UISceneSession Lifecycle
21+ // If DemoApp is running, use Module Scanner
22+ Container . autoRegisterModules ( )
2223
23- func application( _ application: UIApplication , configurationForConnecting connectingSceneSession: UISceneSession , options: UIScene . ConnectionOptions ) -> UISceneConfiguration {
24- // Called when a new scene session is being created.
25- // Use this method to select a configuration to create the new scene with.
26- return UISceneConfiguration ( name: " Default Configuration " , sessionRole: connectingSceneSession. role)
27- }
28-
29- func application( _ application: UIApplication , didDiscardSceneSessions sceneSessions: Set < UISceneSession > ) {
30- // Called when the user discards a scene session.
31- // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
32- // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
24+ return true
3325 }
3426}
0 commit comments