A MagicMove Style Custom VC Transition
Objective-C Ruby
Clone or download
Latest commit da9680e Apr 17, 2017

README.md

BCMagicTransition

BCMagicTransition Build Status Verison Lisence platform

BCMagicTransition

A MagicMove Style Custom UIViewController Transiton

Version 1.0.5

##Adding BCMagicTransition to your project

Requirements

  • ARC only; iOS 7.0+

Get it as:

1) source files
  1. Download the BCMagicTransition repository as a zip file or clone it
  2. Copy the BCMagicTransition files into your Xcode project
2) via Cocoa pods

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!

License

This code is distributed under the terms and conditions of the MIT license.

Contribution guidelines

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.