Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#import "AppDelegate.h"
#import "AppCoordinator.h"
@interface AppDelegate ()
@property (strong, nonatomic) AppCoordinator *coordinator;
@end
@implementation AppDelegate
#pragma mark - UIApplicationDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
self.window = [[UIWindow alloc] initWithFrame:UIScreen.mainScreen.bounds];
self.appCoordinator = [[AppCoordinator alloc] initWithWindow:self.window];
[self.appCoordinator start];
[self.window makeKeyAndVisible];
return YES;
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment