Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 swiftpackagemanager
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ramiz69/slider
- Owner: Ramiz69
- License: mit
- Created: 2020-01-05T10:57:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-06T19:38:54.000Z (11 months ago)
- Last Synced: 2024-10-31T16:12:47.014Z (4 months ago)
- Topics: calayer, cashapelayer, cocoapods, ios, layer, progress, progress-bar, slider, slider-control, slider-element, spm, swift, swift5, swiftpackagemanager
- Language: Swift
- Homepage: https://www.ramizkichibekov.com
- Size: 43.6 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)
- [Installation](#installation)
- [Author](#author)
- [License](#license)## Requirements
- iOS 14.0+
- Xcode 15+
- 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.0"))
]
```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, [email protected]
## License
Slider is available under the MIT license. [See LICENSE](https://github.com/Ramiz69/Slider/blob/master/LICENSE) for details.