DeckTransition is an attempt to recreate the card-like transition found in the iOS 10 Apple Music and iMessage apps. The transition can be called from code or using a storyboard. To use via storyboards, just setup a custom segue (kind set to custom), and set the class to DeckSegue. Set modalPresentationCapturesStatusBarAppearance to true in your modal view controller, and override the preferredStatusBarStyle variable to return .lightContent. By default, DeckTransition has a swipe-to-dismiss gesture which is automatically enabled when your modalʼs main UIScrollView is scrolled to the top. DeckTransition has an internal heuristic to determine which UIScrollView should be tracked for the swipe-to-dismiss gesture. In general, this should be sufficient for and cover most use cases.

Features

  • Requires Swift 5.0
  • Requires iOS 9 or later
  • Install DeckTransition using CocoaPods
  • Install DeckTransition using Carthage
  • Documentation is generated with Jazzy
  • The transition can be called from code or using a storyboard

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow DeckTransition

DeckTransition Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DeckTransition!

Additional Project Details

Programming Language

Swift

Related Categories

Swift User Interface (UI) Software, Swift Libraries

Registered

2023-06-08