BubbleTransition
A custom modal transition that presents and dismiss a controller inside an expanding and shrinking bubble.
Screenshot
Usage
Install through CocoaPods:
pod 'BubbleTransition', '~> 2.0.0'
use_frameworks!
Install through Carthage:
github "andreamazz/BubbleTransition"
Setup
Have your view controller conform to UIViewControllerTransitioningDelegate
. Set the transitionMode
, the startingPoint
, the bubbleColor
and the duration
.
You can find the Objective-C equivalent here.
Properties
The point that originates the bubble.
The transition duration.
The transition direction. Either .present
, .dismiss
or .pop
.
The color of the bubble. Make sure that it matches the destination controller's background color.
Checkout the sample project for the full implementation.