Latest | 1.2.2 |
---|---|
Homepage | https://github.com/andresbrun/ABCustomUINavigationController |
License | MIT |
Platforms | ios 7.0, requires ARC |
Frameworks | QuartzCore, CoreGraphics |
Authors |
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 is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like ABCustomUINavigationController in your projects.
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
Cube
Latest podspec
{ "name": "ABCustomUINavigationController", "version": "1.2.2", "summary": "Custom UINavigationController. SquaresFlips and Cube effects", "description": "Subclass of UINavigationController that overwrite push and pop methods to create new transitions effects. Currently it has been implemented two transition animations:n n SquaresFlipn The screen is split in squares and each one rotates until showing the new controller. It has two animation variation: Randomly and Horizontallyn n Cube effectn The views are shown in differents sides of a cube. It has two animation variation: Horizontal and Verticalnn Pixelaten The screen is split in pixels and randomly change to show the nex screen. It has two animation variation: Horizontal and Vertical", "homepage": "https://github.com/andresbrun/ABCustomUINavigationController", "license": { "type": "MIT", "file": "LICENSE.txt" }, "authors": { "Andres Brun": "[email protected]" }, "platforms": { "ios": "7.0" }, "source": { "git": "https://github.com/andresbrun/ABCustomUINavigationController.git", "tag": "1.2.2" }, "source_files": "CustomUINavigationController/**/*.{h,m}", "frameworks": [ "QuartzCore", "CoreGraphics" ], "requires_arc": true }
Fri, 14 Oct 2016 09:01:04 +0000