A MagicMove Style Custom UIViewController Transiton
Version 1.0.5
##Adding APImageTransactionEffect to your project
- ARC only; iOS 7.0+
- Download the APImageTransactionEffect repository as a zip file or clone it
- Copy the APImageTransactionEffect files into your Xcode project
APImageTransactionEffect is available on CocoaPods. Just add the following to your project Podfile:
pod 'APMagicTransition'
If you want to read more about CocoaPods, have a look at this short tutorial.
##Basic usage
#import "UIViewController+BCMagicTransition.h"
@interface MyViewController : <APMagicTransitionProtocol>
- (void)push
{
... ...
[self pushViewController:secondVC fromViews:fromViews toViews:toViews duration:0.3];
}
##Misc
Author: BoyceChang
If you like APImageTransactionEffect and use it, could you please:
- star this repo
- send me some feedback. Thanks!
This code is distributed under the terms and conditions of the MIT license.
If you are fixing a bug you discovered, please add also a unit test so I know how exactly to reproduce the bug before merging.