OLD | NEW |
(Empty) | |
| 1 #import "AppDelegate.h" |
| 2 #import "swift_wmo-Swift.h" |
| 3 |
| 4 @interface AppDelegate () |
| 5 |
| 6 @property(nonatomic, strong) MySwiftClass* swiftField; |
| 7 @property(nonatomic, strong) MySecondSwiftClass* secondSwiftField; |
| 8 |
| 9 @end |
| 10 |
| 11 @implementation AppDelegate |
| 12 |
| 13 - (BOOL)application:(UIApplication*)application |
| 14 didFinishLaunchingWithOptions:(NSDictionary*)launchOptions { |
| 15 CGRect bounds = [[UIScreen mainScreen] nativeBounds]; |
| 16 self.window = [[UIWindow alloc] initWithFrame:bounds]; |
| 17 self.window.rootViewController = [[UIViewController alloc] init]; |
| 18 [self.window makeKeyAndVisible]; |
| 19 |
| 20 self.swiftField = [[MySwiftClass alloc] init]; |
| 21 self.secondSwiftField = [[MySecondSwiftClass alloc] init]; |
| 22 |
| 23 return YES; |
| 24 } |
| 25 |
| 26 - (void)applicationWillResignActive:(UIApplication*)application { |
| 27 } |
| 28 |
| 29 - (void)applicationDidEnterBackground:(UIApplication*)application { |
| 30 } |
| 31 |
| 32 - (void)applicationWillEnterForeground:(UIApplication*)application { |
| 33 } |
| 34 |
| 35 - (void)applicationDidBecomeActive:(UIApplication*)application { |
| 36 } |
| 37 |
| 38 - (void)applicationWillTerminate:(UIApplication*)application { |
| 39 } |
| 40 |
| 41 @end |
OLD | NEW |