Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#import "AppDelegate.h"
#import "AppCoordinator.h"
@interface AppDelegate ()
@property (strong, nonatomic) AppCoordinator *coordinator;
@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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment