Skip to content

Instantly share code, notes, and snippets.

@vanbungkring
Last active August 5, 2016 06:42
Show Gist options
  • Save vanbungkring/ba0305e3cd5fa28d221015e1743da43e to your computer and use it in GitHub Desktop.
Save vanbungkring/ba0305e3cd5fa28d221015e1743da43e to your computer and use it in GitHub Desktop.

How To Get Started

  • Do pod install in project

Architecture

Using MVVMC (Model view viewmodel Controller), wich mean there's viewController that have  separate view file to handle view manipulation and view mocking

##Function and explanation ####Appdelegate initialization first window

self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    self.window.backgroundColor = [UIColor whiteColor];
    self.uniqueVC = [[UniqueCodeViewController alloc] initWithNibName:@"UniqueCodeViewController" bundle:nil];
    self.baseNavigationVC = [[BaseNavigationController alloc] initWithRootViewController:self.uniqueVC];
    self.window.rootViewController = self.baseNavigationVC; 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment