VerticalSlidingPresentationController is a custom view controller presentation library which is designed to animate the presented view controller from bottom of the screen. When the presented view controller is showing on the screen, it has two anchor points, one at the lower part of the screen and the other at the upper part, You could scroll the content view of the presented view controller directly to update the origin of the presented view controller so that it can slide between the two anchor points or be dismissed.
- [x] Xcode 11.
- [x] Swift 5.
- [x] iOS 11 or higher.
CocoaPods is a dependency manager for Cocoa projects. To integrate into your Xcode project using CocoaPods, specify it in your
pod 'VerticalSlidingPresentationController', '~> 0.1.3'
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate into your Xcode project using Carthage, specify it in your
github "liyu-wang/VerticalSlidingPresentationController" ~> 0.1.3
Swift Package Manager
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the
Once you have your Swift package set up, adding it as a dependency is as easy as adding it to the
dependencies value of your
dependencies: [ .package(url: "https://github.com/liyu-wang/VerticalSlidingPresentationController.git", .upToNextMajor(from: "0.1.3")) ]