DeckTransition Versions Save

A library to recreate the iOS Apple Music now playing transition

1.3.0

6 years ago
  • Support for safe area based layouts
  • Added a new DeckSnapshotUpdater API to update presenting view snapshots

1.2.0

6 years ago
  • Rounded corners are now manually rendered without using a mask

1.1.0

6 years ago
  • Adds support for iPhone X

1.0.4

6 years ago
  • Fixed an issue where touches to the presentedView’s subview touches would be cancelled

1.0.3

6 years ago
  • Fixed an issue caused when the presented view controller presented and then dismissed a view controller

1.0.2

6 years ago
  • Fixes an issue with Xcode 9’s new build system

1.0.1

6 years ago
  • Fixes an exception caused by KVO observers never being removed

1.0.0

6 years ago

Here’s a summary of all the changes in this version

  • Vastly improved performance
  • Reorganized project structure
  • Support for Carthage
  • All “magic numbers” have been refactored out

One small change needs to be implemented in pre-1.0 projects to maintain compatibility with this version of DeckTransition. The entirety of the change consists of replacing the following line of code in your modal view controller’s UIScrollViewDelegate implementation

scrollView.transform = CGAffineTransform(translationX: 0, y: scrollView.contentOffset.y)

with the block that follows below:

scrollView.subviews.forEach {
    $0.transform = CGAffineTransform(translationX: 0, y: scrollView.contentOffset.y)
}

The implementation example in the ReadMe has been updated to reflect this.

0.1.1

6 years ago
  • Fixed an issue which may prevent masking for the presenting view controller
  • Made the example application universal and added icons

0.1.2

6 years ago
  • Fixed an issue where touches to the presented view were being delayed