https://github.com/andresbrun/ABCustomUINavigationController
Custom UINavigationController. SquaresFlips and Cube effects
https://github.com/andresbrun/ABCustomUINavigationController
Last synced: 19 days ago
JSON representation
Custom UINavigationController. SquaresFlips and Cube effects
- Host: GitHub
- URL: https://github.com/andresbrun/ABCustomUINavigationController
- Owner: andresbrun
- License: other
- Created: 2013-07-21T13:46:06.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2021-12-08T07:44:35.000Z (over 3 years ago)
- Last Synced: 2025-03-26T14:02:42.150Z (28 days ago)
- Language: Objective-C
- Homepage:
- Size: 11.9 MB
- Stars: 494
- Watchers: 19
- Forks: 69
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome - ABCustomUINavigationController - Custom UINavigationController. SquaresFlips and Cube effects (etc)
- awesome - ABCustomUINavigationController - Custom UINavigationController. SquaresFlips and Cube effects (etc)
README
ABCustomUINavigationController
=====================
[](https://github.com/andresbrun/ABCustomUINavigationController/blob/master/LICENSE)
[](https://github.com/andresbrun/ABCustomUINavigationController)
[](https://github.com/andresbrun/ABCustomUINavigationController)
[](https://github.com/andresbrun/ABCustomUINavigationController)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## Installation with CocoaPods
[CocoaPods](http://cocoapods.org) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like ABCustomUINavigationController in your projects.
#### Podfile
```ruby
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:```objective-c
#import "FlipSquaresNavigationController.h"
[[FlipSquaresNavigationController alloc] initWithRootViewController:self.viewController];
``````swift
import ABCustomUINavigationController
let navigationController = FlipSquaresNavigationController(rootViewController: viewController)
```
or```objective-c
#import "CubeNavigationController.h"
[[CubeNavigationController alloc] initWithRootViewController:self.viewController];
``````swift
import ABCustomUINavigationController
let navigationController = CubeNavigationController(rootViewController: viewController)
```
and pushing and pop as usual using commons methods like:```objective-c
- (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

### Cube
