Latest 1.0
Homepage https://github.com/AlbertMontserrat/UINavigationController-gamefade
License MIT
Platforms ios 6.0, requires ARC
Frameworks UIKit, QuartzCore
Authors

[![CI Status](http://img.shields.io/travis/Albert M/UINavigationControllerGameFade.svg?style=flat)](https://travis-ci.org/Albert M/UINavigationControllerGameFade)
Version
License
Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

UINavigationControllerGameFade gives you the functionality to make fade transitions such as,

Push:

SampleViewController *sample = [self.storyboard instantiateViewControllerWithIdentifier:@"sampleviewcontroller"];
[self.navigationController pushFadeViewController:sample];

Pop:

[self.navigationController popFadeViewController];

Reset root view controller:

SampleViewController *sample = [self.storyboard instantiateViewControllerWithIdentifier:@"sampleviewcontroller"];
[self.navigationController resetRootViewController:sample andPop:YES];

Replace current view controller with an other view controller:

SampleViewController *sample = [self.storyboard instantiateViewControllerWithIdentifier:@"sampleviewcontroller"];
[self.navigationController replaceCurrentViewControllerWithViewController:sample];

Or even replace the current view controller and some other view controllers in the stack with another view controller:

SampleViewController *sample = [self.storyboard instantiateViewControllerWithIdentifier:@"sampleviewcontroller"];
[self.navigationController replaceCountViewControllers:2 withViewController:sample];

Test the sample app to see the power of this features!

Requirements

iOS 6 and above.

Installation

UINavigationControllerGameFade is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "UINavigationControllerGameFade"

Author

Albert Montserrat, [email protected]

License

UINavigationControllerGameFade is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "UINavigationControllerGameFade",
    "version": "1.0",
    "summary": "Fade transitions for UINavigationController",
    "description": "Fade transitions for UINavigationController such as push, pop, reset root view controller and replace one or multiple view controllersn",
    "homepage": "https://github.com/AlbertMontserrat/UINavigationController-gamefade",
    "license": "MIT",
    "authors": {
        "Albert Montserrat": "[email protected]"
    },
    "source": {
        "git": "https://github.com/AlbertMontserrat/UINavigationController-gamefade.git",
        "tag": "1.0"
    },
    "platforms": {
        "ios": "6.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "UINavigationControllerGameFade": [
            "Pod/Assets/*.png"
        ]
    },
    "public_header_files": "Pod/Classes/**/*.h",
    "frameworks": [
        "UIKit",
        "QuartzCore"
    ]
}

Pin It on Pinterest

Share This