/SwiftCustomTransitions

Swift 3 Custom Transitions Demonstration

Primary LanguageSwift

Swift 3 Custom Transitions Demonstration

This is an demonstration of using custom transitions in Swift 3, including interactive transitions and presentation controllers.

See WWDC 2013 video Custom Transitions Using View Controllers., which shows an example of precisely this. For a discussion of presentation controllers, see WWDC 2014 videos View Controller Advancements in iOS 8 and A Look Inside Presentation Controllers. This is a Swift 3 implementation.

example image

See http://stackoverflow.com/a/42213998/1271826.

This was developed in Swift 3 on Xcode 8.2.1 for iOS 10. But, the basic ideas are equally applicable for different versions of Swift and/or Objective-C. The use of presentation controller requires iOS 8 or later.

License

Copyright © 2017 Robert Ryan. All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

--

13 February 2017