Configurable range slider for iOS (IBInspectable and IBDesignable)
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ sudo gem install cocoapods
CocoaPods 1.14.0+ is required.
To integrate YSRangeSlider
into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '13.0'
use_frameworks!
target '<Your Target Name>' do
pod 'YSRangeSlider'
end
Then, run the following command:
$ pod install
To integrate using Apple's Swift Package Manager, add the following as a dependency to your Package.swift
:
.package(url: "https://github.com/LaurentiuUngur/YSRangeSlider", from: Version(5, 0, 0))
If you prefer not to use either of the before mentioned dependency managers, you can integrate YSRangeSlider
into your project manually.
- Xcode 15.0+
- Swift 5.9+
- iOS 13.0+
- YSRangeSlider is available under the MIT license.