Latest 2.2.0
Homepage https://github.com/MingLoan/SimpleTransition
License MIT
Platforms ios 8.0, requires ARC
Authors

CI Status
Version
License
Platform

Demo

Demo(https://www.youtube.com/watch?v=bUai3MLJcNA)

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

iOS 8.0+

Installation

SimpleTransition is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "SimpleTransition"

via Carthage

github "MingLoan/SimpleTransition"

Usage

// init SimpleTransitionDelegate with presenting and presented view controller
let simpleTransitionDelegate = SimpleTransition(presentingViewController: self, presentedViewController: presentedViewCtl)

// setup delegate with options
simpleTransitionDelegate.setup(
            animation,
            alignment: alignment,
            motion: motion,
            presentingViewSize: presentingViewSize)

// assign simpleTransitionDelegate to presented view controller
presentedViewCtl.simpleTransitionDelegate = simpleTransitionDelegate

// call UIKit present method       
present(presentedViewCtl, animated: true, completion: nil)

Author

Mingloan, [email protected]

License

SimpleTransition is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SimpleTransition",
    "version": "2.2.0",
    "summary": "A simple way to create custom presentation transition.",
    "description": "iOS Custom Animated Transitioning for view controller presentation",
    "homepage": "https://github.com/MingLoan/SimpleTransition",
    "license": "MIT",
    "authors": {
        "Mingloan": "[email protected]"
    },
    "source": {
        "git": "https://github.com/MingLoan/SimpleTransition.git",
        "tag": "2.2.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This