Latest 1.0.0
Homepage https://github.com/adrientruong/AQTRootContainerViewController
License MIT
Platforms ios 8.0, requires ARC
Authors

A container view controller to animate swapping root view controllers

How to Install

Add the following to your Podfile

pod 'AQTRootContainerViewController'

Usage

  //initialization
  UIViewController *rootViewController = [[UIViewController alloc] init];
  AQTRootContainerViewController *rootContainerViewController = [[AQTRootContainerViewController alloc] init];
  rootContainerViewController.rootViewController = rootViewController;

  //when you want to swap root view controllers with animation
  UIViewController *newRootViewController = [[UIViewController alloc] init];
  id<UIViewControllerAnimatedTransitioning> animator = ...;
  [rootContainerViewController setRootViewController:newRootViewController withAnimator:animator];

Latest podspec

{
    "name": "AQTRootContainerViewController",
    "version": "1.0.0",
    "license": "MIT",
    "summary": "A container view controller to animate swapping root view controllers",
    "homepage": "https://github.com/adrientruong/AQTRootContainerViewController",
    "authors": {
        "Adrien Truong": "[email protected]"
    },
    "source": {
        "git": "https://github.com/adrientruong/AQTRootContainerViewController.git",
        "tag": "1.0.0"
    },
    "requires_arc": true,
    "source_files": "AQTRootContainerViewController/AQTRootContainerViewController.{h,m}",
    "platforms": {
        "ios": "8.0"
    }
}

Pin It on Pinterest

Share This