zhuangzhuangzhou / TunViewControllerTransition

a category to transition animation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TunViewControllerTransition

a category to transition animation

swift版本

image

Installation

TunViewControllerTransition is available on CocoaPods. Just add the following to your project Podfile:

pod 'TunViewControllerTransition', '~> 0.0.4'

Usage

image

FromVC

- (void)viewDidAppear:(BOOL)animated
{
    [super viewDidAppear:animated];
    self.navigationController.delegate = self;
}

 [self animateTransitionFromView:fromView toView:@"toViewKeyPath"];

ToVC

 [self animateInverseTransition];

About

a category to transition animation

License:MIT License


Languages

Language:Objective-C 82.5%Language:Ruby 17.5%