JTMaterialTransition alternatives and similar libraries
Based on the "Modal Transition" category.
Alternatively, view JTMaterialTransition alternatives based on common mentions on social networks and blogs.
-
BubbleTransition
A custom modal transition that presents and dismiss a controller with an expanding bubble effect. -
ZOZolaZoomTransition
Zoom transition that animates the entire view heirarchy. Used extensively in the Zola iOS application. -
ImageOpenTransition
Beautiful and precise transitions between ViewControllers images written in Swift. -
DAExpandAnimation
A custom modal transition that presents a controller with an expanding effect while sliding out the presenter remnants. -
ElasticTransition-ObjC
A UIKit custom transition that simulates an elastic drag.This is the Objective-C Version of Elastic Transition written in Swift by lkzhao
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of JTMaterialTransition or a related project?
README
JTMaterialTransition
An iOS transition for controllers based on material design.
Installation
With CocoaPods, add this line to your Podfile.
pod 'JTMaterialTransition', '~> 2.0'
Screenshots
[Example](./Screens/example.gif "Example View")
Usage
Basic usage
import UIKit
import JTMaterialTransition
class ViewController: UIViewController {
weak var presentControllerButton: UIButton?
var transition: JTMaterialTransition?
override func viewDidLoad() {
super.viewDidLoad()
self.transition = JTMaterialTransition(animatedView: self.presentControllerButton)
}
func didPresentControllerButtonTouch () {
let controller = SecondViewController()
controller.modalPresentationStyle = .custom
controller.transitioningDelegate = self.transition
self.present(controller, animated: true, completion: nil)
}
}
Notes
The animatedView
is not directly used, a new view is created based on the frame
, backgroundColor
properties for the animation.
If you don't want to provide a view, you have to set startFrame
and startBackgroundColor
properties and call init
instead of initWithAnimatedView:
.
startFrame
must be the coordinates relative to the window:
var startFrame = animatedView.superview?.convert(animatedView.frame, to: nil)
Warning
The controller presented must have a backgroundColor
else the effect can be a little strange. If you use a UINavigationController
or another container don't forget to set the backgroundColor
with controllerPresented.view.backgroundColor = UIColor.yourColor
.
Requirements
- iOS 8.0 or higher
- Swift 4.2
Author
License
JTMaterialTransition is released under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the JTMaterialTransition README section above
are relevant to that project's source code only.