PanSlip alternatives and similar libraries
Based on the "Transition" category.
Alternatively, view PanSlip alternatives based on common mentions on social networks and blogs.
-
TLYShyNavBar
Unlike all those arrogant UINavigationBar, this one is shy and humble! Easily create auto-scrolling navigation bars! -
StarWars.iOS
This component implements transition animation to crumble view-controller into tiny pieces. -
BubbleTransition
A custom modal transition that presents and dismiss a controller with an expanding bubble effect. -
SPStorkController
Now playing controller from Apple Music, Mail & Podcasts Apple's apps. -
Transition
Easy interactive interruptible custom ViewController transitions -
ElasticTransition
A UIKit custom transition that simulates an elastic drag. Written in Swift. -
PinterestSwift
This is a Swift based demo project to show how to make the transition Pinterest liked. -
EasyTransitions
A simple way to create custom interactive UIViewController transitions -
RevealingSplashView
A Splash view that animates and reveals its content, inspired by Twitter splash -
SPLarkController
Custom transition between controllers. Settings controller for your iOS app. -
ImageOpenTransition
Beautiful and precise transitions between ViewControllers images written in Swift. -
MusicPlayerTransition
Custom interactive transition like Apple Music iOS App (iOS 9). written in Swift. -
LiquidSwipe
Example of using SwiftUI to create a beautiful Liquid Swipe control -
AudioIndicatorBars
AIB indicates for your app users which audio is playing. Just like the Podcasts app. -
SamuraiTransition
SamuraiTransition is an open source Swift based library providing a collection of ViewController transitions featuring a number of neat “cutting” animations. -
ImageTransition
Library for smooth animation of images during transitions. -
TransitionManager
Painless custom transitioning. Easy extend, easy setup, just focus on animations. -
NavigationTransitions
Pure SwiftUI Navigation transitions ✨
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 PanSlip or a related project?
README
PanSlip
Use PanGesture to dismiss view on UIViewController and UIView.
Introduction
PanSlip to UIViewController
left to right | right to left | top to bottom | bottom to top |
---|---|---|---|
PanSlip to UIView
left to right | right to left | top to bottom | bottom to top |
---|---|---|---|
Usage
Enable
// UIViewController
let viewController = UIViewController()
viewController.ps.enable(slipDirection: .topToBottom) {
// TODO completion when UIViewController dismissed
}
// UIView
let view = UIView()
view.ps.enable(slipDirection: .topToBottom) {
// TODO completion when UIView dismissed
}
Disable
// UIViewController
let viewController = UIViewController()
viewController.ps.disable()
// UIView
let view = UIView()
view.ps.disable()
Manual slip
// UIViewController
let viewController = UIViewController()
viewController.ps.slip(animated: true)
// UIView
let view = UIView()
view.ps.slip(animated: true)
Set percentThreshold
// UIViewController
extension UIViewController: PanSlipBehavior {
public var percentThreshold: CGFloat? {
return 0.2
}
}
// UIView
extension UIView: PanSlipBehavior {
public var percentThreshold: CGFloat? {
return 0.2
}
}
Installation
CocoaPods (iOS 8+)
platform :ios, '8.0'
use_frameworks!
target '<Your Target Name>' do
pod 'PanSlip'
end
Carthage (iOS 8+)
github "k-lpmg/PanSlip"
LICENSE
These works are available under the MIT license. See the [LICENSE][license] file for more info.
*Note that all licence references and agreements mentioned in the PanSlip README section above
are relevant to that project's source code only.