SlidingSelector
is a controller for selecting an element from a small array with swipe gestures.
Inspired by Figure app
Appetize Live Demo | Gif |
---|---|
Tap to play on Appetize | Gif Example |
- Using Xcode 11 go to File > Swift Packages > Add Package Dependency
- Paste the project URL: https://github.com/Galarius/SlidingSelector.git
- Import
SlidingSelector
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "YourProject",
platforms: [
.iOS(.v9),
],
dependencies: [
.package(url: "https://github.com/Galarius/SlidingSelector.git")
],
targets: [
.target(name: "YourProject", dependencies: ["SlidingSelector"])
]
)
And then import wherever needed: import SlidingSelector
The example project is located under Example
folder.
-
SlidingSelector
is released under the MIT license. See LICENSE for details. -
Images of planets surfaces are provided on the terms of personal, non commercial use by
bytecodeminer
from alphacoders.com. -
Icons are provided on the terms of
Creative Commons (Attribution 3.0 Unported)
license from iconfinder.com: