Latest 0.0.1
Homepage https://github.com/artemlebedko/Moran
License MIT
Platforms ios 8.0
Authors

Swift 4.2+
Platform iOS
Version
License

Overview

Simple custom transition demo

Installation

Usage

import Moran

var transition: Moran?

//when you presenting another view controller set delegate and presentation style
let storyboard = UIStoryboard.init(name: "Main", bundle: nil)
        if let detailViewController = storyboard.instantiateViewController(withIdentifier: "DetailViewController") as? DetailViewController {

            detailViewController.modalPresentationStyle = .custom
            detailViewController.transitioningDelegate = self.transition
            present(detailViewController, animated: true)
        }

//add element where animation will started
self.transition = Moran(animatedView: button, transitionDuration: 0.5)

Author

artemlebedko, [email protected]

License

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

Latest podspec

{
    "name": "Moran",
    "version": "0.0.1",
    "summary": "Custom transition like iOS Menu",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/artemlebedko/Moran",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Artem Lebedko": "[email protected]"
    },
    "source": {
        "git": "https://github.com/artemlebedko/Moran.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Moran/Classes/**/*"
}

Pin It on Pinterest

Share This