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

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try 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