Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Modal Transition - iOS

What this does

This is an alternative to the modalFullScreen presentation style where it presents like fullScreen but allows you to swipe to dismiss with a gesture and nice AnimationFormatString

It mimics the system in terms of how it looks and behaves with velocity and speed

Based off ViewControllerTransitionExample

Demo

Coming soon...

Usage

Use the animation with a few simple steps

Conform to ModalTransitionPresentable

class CustomViewController: UIViewController, ModalTransitionPresentable {
    var transitionManager: UIViewControllerTransitioningDelegate?
}

Present the view controller modally

let viewController = UIViewController()
viewController.configureForModalTransition()
present(viewController, animated: true)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages