https://github.com/ramiz69/slider
https://github.com/ramiz69/slider
calayer cashapelayer cocoapods ios layer progress progress-bar slider slider-control slider-element spm swift swift5 swift6 swiftpackagemanager uikit
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ramiz69/slider
- Owner: Ramiz69
- License: mit
- Created: 2020-01-05T10:57:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-06-28T06:10:58.000Z (8 months ago)
- Last Synced: 2025-06-29T06:16:03.452Z (8 months ago)
- Topics: calayer, cashapelayer, cocoapods, ios, layer, progress, progress-bar, slider, slider-control, slider-element, spm, swift, swift5, swift6, swiftpackagemanager, uikit
- Language: Swift
- Homepage: https://www.ramizkichibekov.com
- Size: 43.7 MB
- Stars: 40
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Slider

[](https://cocoapods.org/pods/RKSlider)
[](https://cocoapods.org/pods/RKSlider)
[](https://cocoapods.org/pods/RKSlider)

[](https://swift.org)
- [Installation](#installation)
- [Author](#author)
- [License](#license)
## Requirements
- iOS 14.0+
- Xcode 16+
- Swift 5+
## Preview
Preview

## Installation
### Swift Package Manager
The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler.
Once you have your Swift package set up, adding Slider as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift` or the Package list in Xcode.
```swift
dependencies: [
.package(url: "https://github.com/Ramiz69/Slider.git", .upToNextMajor(from: "0.2.1"))
]
```
Normally you'll want to depend on the `Slider` target:
```swift
.product(name: "Slider", package: "Slider")
```
### CocoaPods
[CocoaPods](https://cocoapods.org) is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Slider into your Xcode project using CocoaPods, specify it in your `Podfile`:
```ruby
pod 'RKSlider'
```
### Manually
copy `Slider.swift` to your project
### Usage
#### code
- init Slider with frame or use Auto Layout
- add a view to your superview
## Author
ramiz69, ramiz161@icloud.com
## License
Slider is available under the MIT license. [See LICENSE](https://github.com/Ramiz69/Slider/blob/master/LICENSE) for details.