Giter Club home page Giter Club logo

spnavigationcontroller's Introduction

SPNavigationController - UINavigationController With Custom Transitions

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.

alt tag

##Contents

  • [Getting Started] (#Getting-Started)
  • [Examples] (#examples)
  • [Transitions] (#transitions)
  • [Minimum Requirements] (#minimum-requirement)
  • [Other] (#other)

Getting Started

  1. git clone https://github.com/psandeepunni/SPNavigationController.git
  2. Drag and drop the "SPNavigationController" folder to your iOS project. Please remember to check copy folder contents option.
  3. Add import statement for "SPNavigationUIKit" to your projectName-prefix.pch file

Examples

  1. To add the navigation controller to your window object
	self.window.rootViewController = [[SPNavigationController alloc] initWithRootViewController:initViewController];
  1. Push a view controller from another view controller
SPChildViewController *child = [[SPChildViewController alloc] initWithNibName:@"SPChildViewController" bundle:nil];
[self.spNavigationController pushViewController:child animated:YES animationType:UITransitionPushFromLeftSide];
  1. Pop a view controller
[self.spNavigationController popViewControllerAnimated:YES];

Transitions

Currently navigation controller supports 4 transitions that you cycle through by passing the below options

  1. UITransitionPushFromLeftSide (default)
  2. UITransitionPushFromRightSide
  3. UITransitionPushFromTop
  4. UITransitionPushFromBottom

Please see the sample project in the repository on how the transitions look and work

Minimum Requirements

iOS 5 and above only

Other

(Coming soon)

spnavigationcontroller's People

Contributors

psandeepunni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

huyahui

spnavigationcontroller's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.