mirror of
https://github.com/devxoul/Toaster.git
synced 2026-01-18 21:21:19 +01:00
29 lines
703 B
Objective-C
29 lines
703 B
Objective-C
//
|
|
// AppDelegate.m
|
|
// ToasterDemoObjC
|
|
//
|
|
// Created by Antoine Cœur on 2019/4/4.
|
|
// Copyright © 2019 Suyeol Jeon. All rights reserved.
|
|
//
|
|
|
|
#import "AppDelegate.h"
|
|
#import "RootViewController.h"
|
|
|
|
@interface AppDelegate ()
|
|
|
|
@end
|
|
|
|
@implementation AppDelegate
|
|
|
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
|
// Override point for customization after application launch.
|
|
self.window = [[UIWindow alloc] initWithFrame:UIScreen.mainScreen.bounds];
|
|
self.window.backgroundColor = UIColor.whiteColor;
|
|
self.window.rootViewController = [RootViewController new];
|
|
[self.window makeKeyAndVisible];
|
|
|
|
return YES;
|
|
}
|
|
|
|
@end
|