A MagicMove Style Custom UIViewController Transiton
Version 1.0.5
##Adding BCMagicTransition to your project
- ARC only; iOS 7.0+
- Download the BCMagicTransition repository as a zip file or clone it
- Copy the BCMagicTransition files into your Xcode project
BCMagicTransition is available on CocoaPods. Just add the following to your project Podfile:
pod 'BCMagicTransition'
If you want to read more about CocoaPods, have a look at this short tutorial.
##Basic usage
#import "UIViewController+BCMagicTransition.h"
@interface MyViewController : <BCMagicTransitionProtocol>
- (void)push
{
... ...
[self pushViewController:secondVC fromViews:fromViews toViews:toViews duration:0.3];
}
##Misc
Author: BoyceChang
If you like BCMagicTransition 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.