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
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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