Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yhkaplan/doubleslider
A UISlider replacement with two draggable thumbs
https://github.com/yhkaplan/doubleslider
swift uislider
Last synced: 3 months ago
JSON representation
A UISlider replacement with two draggable thumbs
- Host: GitHub
- URL: https://github.com/yhkaplan/doubleslider
- Owner: yhkaplan
- License: mit
- Created: 2018-04-03T07:21:27.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-07T08:26:19.000Z (about 3 years ago)
- Last Synced: 2024-03-14T18:17:53.719Z (11 months ago)
- Topics: swift, uislider
- Language: Swift
- Size: 438 KB
- Stars: 52
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![Swift 5.5](https://img.shields.io/badge/Swift-5.5-orange.svg?style=flat)](swift.org)
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/DoubleSlider.svg)](https://img.shields.io/cocoapods/v/DoubleSlider.svg)
[![Platform](https://img.shields.io/cocoapods/p/DoubleSlider.svg?style=flat)](http://cocoapods.org/pods/DoubleSlider)
# DoubleSlider
DoubleSlider is a version of UISlider that has two draggable points —useful for choosing two points in a range.## Requirements
- iOS 12.0+
- Xcode 12.0+## Screenshots
![demo](demo.gif)## Installation
#### Swift Package Manager
Add via Xcode in the [usual way](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app)
#### CocoaPods
You can use [CocoaPods](http://cocoapods.org/) to install `DoubleSlider` by adding it to your `Podfile`:```ruby
platform :ios, '11.0'
use_frameworks!
pod 'DoubleSlider'
```
``` swift
import DoubleSlider
```
#### Carthage
Create a `Cartfile` that lists the framework and run `carthage update`. Follow the [instructions](https://github.com/Carthage/Carthage#if-youre-building-for-ios) to add `$(SRCROOT)/Carthage/Build/iOS/DoubleSlider.framework` to an iOS project.```
github "yhkaplan/DoubleSlider"
```