Skip to content

david2Coders/OSXNavigationController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

OSXNavigationController

Based on the idea of iOS Navigation Controller

###How to use:

####1) Your controller should be a CODBaseViewController Class

@interface YOURCUSTOM_SUBCLASS : CODBaseViewController

####2) Set up your App Delegate

self.navigationController = [[CODNavigationController alloc]initWithRootViewController:YOURCONTROLLER_INSTANCE];
self.window.contentViewController = self.navigationController;

####3) How to pop/push

  //Push
    [self.navigationController pushViewController:YOUR_NEW_VC animated:ANIMATE];
  //Pop
    [self.navigationController popViewControllerAnimated:ANIMATE];

####TODO list: Push/Pop: Resize window to the previous/next view controller (now is fixed)

About

Navigation controller like iOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages