ZoomTransitioning alternatives and similar libraries
Based on the "Animation" category.
Alternatively, view ZoomTransitioning alternatives based on common mentions on social networks and blogs.
-
SkeletonView
☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting -
IBAnimatable
Design and prototype customized UI, interaction, navigation, transition and animation for App Store ready Apps in Interface Builder with IBAnimatable. -
AnimatedCollectionViewLayout
A UICollectionViewLayout subclass that adds custom transitions/animations to the UICollectionView without effecting your existing code. -
EasyAnimation
A Swift library to take the power of UIView.animateWithDuration(_:, animations:...) to a whole new level - layers, springs, chain-able animations and mixing view and layer animations together! -
Presentation
:bookmark_tabs: Presentation helps you to make tutorials, release notes and animated pages. -
Fluid Slider
:octocat:💧 A slider widget with a popup bubble displaying the precise value selected. Swift UI library made by @Ramotion -
navigation-toolbar
:octocat: Navigation toolbar is a slide-modeled UI navigation controller made by @Ramotion -
CAROUSEL
List a collection of items in a horizontally scrolling view. A scaling factor controls the size of the items relative to the center. -
Garland View
:octocat: ≡ GarlandView seamlessly transitions between multiple lists of content. Swift UI library made by @Ramotion -
SPPerspective
Widgets iOS 14 animation with 3D and dynamic shadow. Customisable transform and duration. -
Numbers Animation
Numbers animation allows you to click on different numbers and accordingly it will animate numbers in a cool way. It has a very attractive UI and is very easy to use. -
CircularReveal
CircularReveal is a SwiftUI modifier that allows presenting views with a circular animation
InfluxDB - Purpose built for real-time analytics at any scale.
* 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 ZoomTransitioning or a related project?
README
ZoomTransitioning
Overview
ZoomTransitioning
provides a custom transition with image zooming animation.
When you use this library with UINavigationController
, you can pop view controller with edge swiping.
Demo
Run the demo project in the Demo directory without carthage update
or pod install
.
Usage
Refer to the example project for details.
import ZoomTransitioning
Adopt ZoomTransitionSourceDelegate
to source view controller
extension ImageListViewController: ZoomTransitionSourceDelegate {
func transitionSourceImageView() -> UIImageView {
return selectedImageView
}
func transitionSourceImageViewFrame(forward forward: Bool) -> CGRect {
return selectedImageView.convertRect(selectedImageView.bounds, toView: view)
}
func transitionSourceWillBegin() {
selectedImageView.hidden = true
}
func transitionSourceDidEnd() {
selectedImageView.hidden = false
}
func transitionSourceDidCancel() {
selectedImageView.hidden = false
}
}
Adopt ZoomTransitionDestinationDelegate
to destination view controller
extension ImageDetailViewController: ZoomTransitionDestinationDelegate {
func transitionDestinationImageViewFrame(forward forward: Bool) -> CGRect {
if forward {
let x: CGFloat = 0.0
let y = topLayoutGuide.length
let width = view.frame.width
let height = width * 2.0 / 3.0
return CGRect(x: x, y: y, width: width, height: height)
} else {
return largeImageView.convertRect(largeImageView.bounds, toView: view)
}
}
func transitionDestinationWillBegin() {
largeImageView.hidden = true
}
func transitionDestinationDidEnd(transitioningImageView imageView: UIImageView) {
largeImageView.hidden = false
largeImageView.image = imageView.image
}
func transitionDestinationDidCancel() {
largeImageView.hidden = false
}
}
set delegate
property of UINavigationController
import ZoomTransitioning
class NavigationController: UINavigationController {
private let zoomNavigationControllerDelegate = ZoomNavigationControllerDelegate()
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
delegate = zoomNavigationControllerDelegate
}
}
Requirements
- Swift 4.0
- iOS 9.0 or later
If you use Swift 2.2, use 1.3.0
Installation
Carthage
ZoomTransitioning is available through Carthage. To install it, simply add the following line to your Cartfile:
github "WorldDownTown/ZoomTransitioning"
CocoaPods
ZoomTransitioning is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ZoomTransitioning'
Manually
- Download and drop
/ZoomTransitioning
folder in your project. - Congratulations!
Author
WorldDownTown, [email protected]
License
ZoomTransitioning is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the ZoomTransitioning README section above
are relevant to that project's source code only.