Latest 1.0.0
Homepage https://github.com/ThePantsThief/TBInteractivePushTransition
License MIT
Platforms ios 7.0
Authors

Version
License
Platform

TBInteractivePushTransition enables the ability to swipe "forward" to push a view controller onto the navigation stack via a screen edge pan gesture, akin to UINavigationController‘s interactivePopGestureRecognizer.

To use it, simply create and hold a reference to the transition object in a view controller on the navigation stack. The view controller must be on the navigation stack when the transition object is created. Similarly, if you use the same view controller in more than one navigation controller, you must recreate the transition object each time.

@interface SomeViewController : UIViewController <TBPushTransitionDataSource>
@property (nonatomic) TBInteractivePushTransition *transition;
@end

@implementation SomeViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    // Assuming we have a .navigationController at this point
    self.transition = [TBInteractivePushTransition viewController:self delegate:self];
}

- (UIViewController *)viewControllerForPushTransition {
    return [[self class] new]; // whatever
}

@end

Example Project

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

Requirements

iOS 7 or later.

Installation

Add the following line to your Podfile:

pod 'TBInteractivePushTransition'

Author

ThePantsThief, [email protected]

License

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

Latest podspec

{
    "name": "TBInteractivePushTransition",
    "version": "1.0.0",
    "summary": "The interactive push transition iOS was missing.",
    "description": "TBInteractivePushTransition is an interactive push transition triggered by a screen edge swipe from right to left.",
    "homepage": "https://github.com/ThePantsThief/TBInteractivePushTransition",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "ThePantsThief": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ThePantsThief/TBInteractivePushTransition.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "TBInteractivePushTransition/Classes/*"
}

Pin It on Pinterest

Share This