Implementation of custom UIViewController transitions. The goal of this project is to give a base implementation of how to create simple custom transition between UIViewControllers.
This project was created for a presentation I gave at the Boulder iOS September Meetup
Xcode 8
Swift 3
There are four custom view controller transitions implemented in the project.
When you launch the application the initial view is in a UITabBarController
with two tabs. Switching between tabs displays an animation.
The first tab of the tab bar controller holds a view controller that is in a navigation bar. This view controller has two UIButton
s in the view. One is titled push
and the other with the title present
.
Tapping on present
will display a custom modal presentation transition.
Performing a pinch gesture on the first tab view controller will be activate the interactive transition.
Run the UI test target and view a demo of the transitions on the simulator! In Xcode press CMD+U
The interactive transition in the project lags in the simulator. Workaround: Run on an actual iOS device which displays no lag.
- Joshua Alvarado - Initial work
This project is licensed under the MIT License - see the LICENSE.md file for details
If you find any problems please open a new issue. Obj-c and Swift 3 implementation coming soon.