TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Mar 2016 |
Maintained by SelfStudio.
iOS 7 based transition library for View Controllers having a Common View
Very Simple 3 Step Process:
ASFSharedViewTransition.h
and ASFSharedViewTransition.m
in your Project.#import "ASFSharedViewTransition.h"
and add tansitions like this:[ASFSharedViewTransition addTransitionWithFromViewControllerClass:[ViewController class]
ToViewControllerClass:[DetailViewController class]
WithNavigationController:(UINavigationController *)self.window.rootViewController
WithDuration:0.3f];
Note: Transition needs to be added only one time and ASFSharedViewTransition will automatically apply transitions whenever specified UINavigationController navigates between any FromViewController and ToViewController instances.
ASFSharedViewTransitionDataSource
and provide the Common View by implementing this method:- (UIView *)sharedView
Thats it! A Sample Demo Application has been included for help.
iOSSharedViewTransition is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'iOSSharedViewTransition', '~> 1.0.2'
Asif Mujteba, [email protected]
ASFSharedViewTransition is available under the MIT license. See the LICENSE file for more info.