View2ViewTransition alternatives and similar libraries
Based on the "Modal Transition" category.
Alternatively, view View2ViewTransition 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. -
Presentr
Swift wrapper for custom ViewController presentations on iOS -
ZFDragableModalTransition
Custom animation transition for present modal view controller -
ElasticTransition
A UIKit custom transition that simulates an elastic drag. Written in Swift. -
RMPZoomTransitionAnimator
A custom zooming transition animation for UIViewController -
ZOZolaZoomTransition
Zoom transition that animates the entire view heirarchy. Used extensively in the Zola iOS application. -
JTMaterialTransition
An iOS transition for controllers based on material design. -
BlurryModalSegue
A custom modal segue providing a blurred overlay effect. -
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 -
AZTransitions
API to make great custom transitions in one method -
RPModalGestureTransition
You can dismiss modal by using gesture :point_up_2: :iphone:
Appwrite - The open-source backend cloud platform
* 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 View2ViewTransition or a related project?
README
View2ViewTransition
Simple framework for custom interactive viewController transition from one view to another view.
Installation
Carthage
github "naru-jpn/View2ViewTransition"
CocoaPods
pod 'View2ViewTransition'
Usage
Create TransitionController and implement presentation
// Create TransitionController
var transitionController: TransitionController = TransitionController()
// Present view controller with transition delegate
let presentedViewController: PresentedViewController = PresentedViewController()
presentedViewController.transitioningDelegate = transitionController
transitionController.present(viewController: presentedViewController, on: self, attached: presentedViewController, completion: nil)
(also supports push)
// Set transitionController as a navigation controller delegate and push.
let presentedViewController: PresentedViewController = PresentedViewController()
if let navigationController = self.navigationController {
navigationController.delegate = transitionController
transitionController.push(viewController: presentedViewController, on: self, attached: presentedViewController)
}
Presenting viewController conforms View2ViewTransitionPresenting
func initialFrame(userInfo: [String: AnyObject]?, isPresenting: Bool) -> CGRect
func initialView(userInfo: [String: AnyObject]?, isPresenting: Bool) -> UIView
func prepereInitialView(userInfo: [String: AnyObject]?, isPresenting: Bool) -> Void // (optional)
Presented viewController conforms View2ViewTransitionPresented
func destinationFrame(userInfo: [String: AnyObject]?, isPresenting: Bool) -> CGRect
func destinationView(userInfo: [String: AnyObject]?, isPresenting: Bool) -> UIView
func prepareDestinationView(userInfo: [String: AnyObject]?, isPresenting: Bool) -> Void // (optional)
Use UserInfo
You can set userInfo to notify indexPath or share resource etc.
transitionController.userInfo = ["key": "value", ...]
Modify Animation Parameters
Animate with custom animation parameters.
// For present
transitionController.presentAnimationController.usingSpringWithDamping = 0.7
transitionController.presentAnimationController.initialSpringVelocity = 0.0
transitionController.presentAnimationController.animationOptions = [.CurveEaseInOut]
// For dismiss
transitionController.dismissAnimationController.usingSpringWithDamping = 0.7
transitionController.dismissAnimationController.initialSpringVelocity = 0.0
transitionController.dismissAnimationController.animationOptions = [.CurveEaseInOut]
Debug Mode
If you have hierarchical view controllers (navigation controllers) in app, viewController to conform protocol is not intuitive. View2ViewTransition prints some information in debug mode.
let transitionController = TransitionController()
// ...
transitionController.debuging = true
Example
*Note that all licence references and agreements mentioned in the View2ViewTransition README section above
are relevant to that project's source code only.