Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andresbrun/ABCustomUINavigationController
Custom UINavigationController. SquaresFlips and Cube effects
https://github.com/andresbrun/ABCustomUINavigationController
Last synced: about 1 month 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 (over 11 years ago)
- Default Branch: master
- Last Pushed: 2021-12-08T07:44:35.000Z (about 3 years ago)
- Last Synced: 2024-10-20T11:19:47.235Z (about 2 months ago)
- Language: Objective-C
- Homepage:
- Size: 11.9 MB
- Stars: 495
- Watchers: 20
- 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
=====================
[![License MIT](https://go-shields.herokuapp.com/license-MIT-blue.png)](https://github.com/andresbrun/ABCustomUINavigationController/blob/master/LICENSE)
[![Build Platform](https://cocoapod-badges.herokuapp.com/p/ABCustomUINavigationController/badge.png)](https://github.com/andresbrun/ABCustomUINavigationController)
[![Build Version](https://cocoapod-badges.herokuapp.com/v/ABCustomUINavigationController/badge.png)](https://github.com/andresbrun/ABCustomUINavigationController)
[![Build Status](https://travis-ci.org/andresbrun/ABCustomUINavigationController.png?branch=origin)](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
![alt tag](https://raw.githubusercontent.com/andresbrun/ABCustomUINavigationController/master/example_images/example.gif)
### Cube
![alt tag](https://raw.githubusercontent.com/andresbrun/ABCustomUINavigationController/master/example_images/example_cube.gif)