ZFDragableModalTransition alternatives and similar libraries
Based on the "Modal Transition" category.
Alternatively, view ZFDragableModalTransition 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 -
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. -
View2ViewTransition
Custom interactive view controller transition from one view to another view. -
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. -
AZTransitions
API to make great custom transitions in one method -
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 -
RPModalGestureTransition
You can dismiss modal by using gesture :point_up_2: :iphone: -
Presenter
Screen transition with safe and clean code.
Appwrite - The Open Source Firebase alternative introduces iOS support
* 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 ZFDragableModalTransition or a related project?
README
ZFDragableModalTransition
Usage
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
TaskDetailViewController *detailViewController = segue.destinationViewController;
detailViewController.task = sender;
// create animator object with instance of modal view controller
// we need to keep it in property with strong reference so it will not get release
self.animator = [[ZFModalTransitionAnimator alloc] initWithModalViewController:detailViewController];
self.animator.dragable = YES;
self.animator.direction = ZFModalTransitonDirectionBottom;
[self.animator setContentScrollView:detailViewController.scrollview];
// set transition delegate of modal view controller to our object
detailViewController.transitioningDelegate = self.animator;
// if you modal cover all behind view controller, use UIModalPresentationFullScreen
detailViewController.modalPresentationStyle = UIModalPresentationCustom;
}
ScrollView
If you have scrollview in the modal and you want to dismiss modal by drag it, you need to set scrollview to ZFModalTransitionAnimator instance.
[self.animator setContentScrollView:detailViewController.scrollview];
Direction
You can set that which direction will our modal present. (default is ZFModalTransitonDirectionBottom)
self.animator.direction = ZFModalTransitonDirectionBottom;
P.S. Now you can set content scrollview only with ZFModalTransitonDirectionBottom
Requirements
- iOS >= 7.1
- ARC
Installation
ZFDragableModalTransition is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "ZFDragableModalTransition"
FAQ
How can I show modal only part of view ?
The current ViewController's view still visible behind the modal, so you just set transparent color to background view.
Author
Amornchai Kanokpullwad, @zoonref
Swift Version
by @dimohamdy ZFDragableModalTransitionSwift
License
ZFDragableModalTransition is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the ZFDragableModalTransition README section above
are relevant to that project's source code only.