This is a UINavigationController that allows for all custom slide animations, not just the usual slide from right to left. Easy to plugin to an iOS Project, and you will have access to a navigation controller structure, fully customisable navigation view. Implemented using a containment controller.
##Contents
- [Getting Started] (#Getting-Started)
- [Examples] (#examples)
- [Transitions] (#transitions)
- [Minimum Requirements] (#minimum-requirement)
- [Other] (#other)
- git clone https://github.com/psandeepunni/SPNavigationController.git
- Drag and drop the "SPNavigationController" folder to your iOS project. Please remember to check copy folder contents option.
- Add import statement for "SPNavigationUIKit" to your projectName-prefix.pch file
- To add the navigation controller to your window object
self.window.rootViewController = [[SPNavigationController alloc] initWithRootViewController:initViewController];
- Push a view controller from another view controller
SPChildViewController *child = [[SPChildViewController alloc] initWithNibName:@"SPChildViewController" bundle:nil];
[self.spNavigationController pushViewController:child animated:YES animationType:UITransitionPushFromLeftSide];
- Pop a view controller
[self.spNavigationController popViewControllerAnimated:YES];
Currently navigation controller supports 4 transitions that you cycle through by passing the below options
- UITransitionPushFromLeftSide (default)
- UITransitionPushFromRightSide
- UITransitionPushFromTop
- UITransitionPushFromBottom
Please see the sample project in the repository on how the transitions look and work
iOS 5 and above only
(Coming soon)