Latest 0.0.1
License MIT
Platforms ios 7.0, requires ARC

A UINavigationController subclass and corresponding UINavigationControllerDelegate that implements drop-in support for swiping left and right through a view hierarchy.


In your Podfile:

pod 'SWNavigationController' 

Or just close this repo and manually add the files from the PodFiles directory to your project


To use SWNavigationController, simply change the type of the UINavigationController

  • Either in your Storyboard

  • Or programmatically in your AppDelegate
  • (BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary )launchOptions {
    SWNavigationController *navController = [[SWNavigationController alloc] initWithRootViewController:rootViewController];

    [self.window setRootViewController:navController];

    return YES;



Interactive Push Gesture

@property (nonatomic, strong, readonly) UIGestureRecognizer *interactivePushGestureRecognizer;

SWNavigationController contains a interactive push gesture recognizer, which behaves opposite of UINavigationController‘s existing interactive pop gesture recognizer. When a view controller has been popped off the navigation stack it can be pulled back onto the top of the navigation stack by a right edge swipe.

The interactive push by default attempts to behave similarly to the built-in interactive pop.

Push Transition Class

@property (nonatomic, strong) Class pushAnimatedTransitioningClass;

pushAnimatedTransitioningClass can be set to override the default interactive push transition that is used by default by SWNavigationController when pulling from the right edge of the screen. This class must implement the protocol UIViewControllerAnimatedTransitioning.

Pop Transition Class

@property (nonatomic, strong) Class popAnimatedTransitioningClass;

popAnimatedTransitioningClass can be set to override UINavigationController‘s default interactive pop transition when pulling from the left edge of the screen. This class must implement the protocol UIViewControllerAnimatedTransitioning.


  • Easy drop-in creation using either Storyboards or programmatically
  • Default push transition that mimics UINavigationController‘s pop transition
  • Customizable push and pop transitions
  • Easily enable and disable pulling view controllers back onto the stack
  • iOS 7 and above


Use Github issues to track bugs and feature requests.


Chris Wendel



Latest podspec

    "name": "SWNavigationController",
    "version": "0.0.1",
    "authors": {
        "Chris Wendel": "[email protected]"
    "homepage": "",
    "summary": "A UINavigationController subclass that provides drop-in support for edge-swiping left and right through a view hierarchy.",
    "license": "MIT",
    "source": {
        "git": "",
        "tag": "0.0.1"
    "source_files": "SWNavigationController/PodFiles/*.{h,m}",
    "platforms": {
        "ios": "7.0"
    "requires_arc": true

Pin It on Pinterest

Share This