Latest 3.0.0
Homepage https://github.com/APUtils/Animators
License MIT
Platforms ios 8.0
Frameworks Foundation, UIKit
Authors

Carthage compatible
Version
License
Platform
CI Status

Custom animators for presentation and navigation transitions. Super simple to use! Just call one of two configuration methods to setup navigation or presentation animations.

Example

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

GIF animation

Bottom Slide:

Animators
Animators

Fade:

Animators
Animators

Right Slide:

Animators
Animators

Installation

Carthage

Please check official guide

Cartfile:

github "APUtils/Animators"

CocoaPods

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

pod 'Animators'

Usage

To setup presentation animation call configuration before controller presentation, usually in awakeFromNib(). Like that:

override func awakeFromNib() {
    super.awakeFromNib()

    FadeAnimationDelegate.configurePresentationAnimations(viewController: self)
}

To setup navigation animation call configuration before controller push. You could do it in navigation controller’s root view controller viewDidLoad() method or just before push.

override func viewDidLoad() {
    super.viewDidLoad()

    RightSlideAnimationDelegate.configureNavigationAnimations(navigationController: navigationController!)
}
FadeAnimationDelegate.configureNavigationAnimations(navigationController: navigationController!)
let vc = ViewController.create(type: .none)
navigationController?.pushViewController(vc, animated: true)

See example and test projects for more details.

Contributions

Any contribution is more than welcome! You can contribute through pull requests and issues on GitHub.

Author

Anton Plebanovich, [email protected]

License

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

Latest podspec

{
    "name": "Animators",
    "version": "3.0.0",
    "summary": "Custom animators for presentation and navigation transitions",
    "description": "Custom animators for presentation and navigation transitions. Super simple to use! Just call one of two configuration methods to setup navigation or presentation animations.",
    "homepage": "https://github.com/APUtils/Animators",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Anton Plebanovich": "[email protected]"
    },
    "source": {
        "git": "https://github.com/APUtils/Animators.git",
        "tag": "3.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Animators/Classes/**/*",
    "frameworks": [
        "Foundation",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This