CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

ABCustomUINavigationController 1.2.2

ABCustomUINavigationController 1.2.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Oct 2016

Maintained by Andres Brun.



  • By
  • Andres Brun

License MIT Build Status

Subclass of UINavigationController for overwriting push and pop methods to create new transitions effects. Currently it has been implemented two transition animations:

SquaresFlip

The screen is split into squares and each one rotates until showing the new controller. It has two animation variations:

  • Randomly
  • Horizontally

Pixelate

The screen is split into pixels and each one fadeout displaying next view. It has two animation variations:

  • Randomly
  • Horizontally

Cube effect

The views are showns in differents cube's faces. It has two animation variation:

  • Horizontal
  • vertical

Podfile

use_frameworks!
pod "ABCustomUINavigationController"

Use

For using that component you only have to copy the SquaresFlipNavigation folder into your project and create the navigation controller as:

#import "FlipSquaresNavigationController.h"
[[FlipSquaresNavigationController alloc] initWithRootViewController:self.viewController];
import ABCustomUINavigationController
let navigationController = FlipSquaresNavigationController(rootViewController: viewController)

or

#import "CubeNavigationController.h"
[[CubeNavigationController alloc] initWithRootViewController:self.viewController];
import ABCustomUINavigationController
let navigationController = CubeNavigationController(rootViewController: viewController)

and pushing and pop as usual using commons methods like:

- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated
- (UIViewController *)popViewControllerAnimated:(BOOL)animated
- (NSArray *)popToRootViewControllerAnimated:(BOOL)animated
- (NSArray *)popToViewController:(UIViewController *)viewController animated:(BOOL)animated

Features

  • Supports every screen size. iPhone and iPad.
  • Supports rotation.
  • Support status bar, navigation bar and navigation toolbar.

Examples

SquaresFlip

alt tag

Cube

alt tag