Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Ekhoo/WESlider
Simple and light weight slider with chapter management
https://github.com/Ekhoo/WESlider
Last synced: 3 months ago
JSON representation
Simple and light weight slider with chapter management
- Host: GitHub
- URL: https://github.com/Ekhoo/WESlider
- Owner: Ekhoo
- License: mit
- Created: 2016-02-25T16:33:37.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-03T14:20:07.000Z (almost 9 years ago)
- Last Synced: 2024-11-11T18:44:33.442Z (3 months ago)
- Language: Objective-C
- Homepage:
- Size: 172 KB
- Stars: 90
- Watchers: 4
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - WESlider - Simple and light weight slider with chapter management (UI / Slider)
- awesome-ios-star - WESlider - Simple and light weight slider with chapter management (UI / Slider)
README

[](http://cocoapods.org/pods/WESlider)
[](http://cocoapods.org/pods/WESlider)
[](http://cocoapods.org/pods/WESlider)
Simple and light weight slider with chapter management
# Demo
# Installation
## CocoaPods
WESlider is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod "WESlider", '~> 0.0.5'
```# Usage
```objective-c
- (void)loadView {
[super loadView];
WESlider *slider = [[WESlider alloc] initWithWidth:CGRectGetWidth(self.view.frame)];
slider.maximumValue = 100.0f;
slider.minimumValue = 0.0f;
[_slider setChunks:@[
[WEChunk chunkWithDuration:25.0f],
[WEChunk chunkWithOffset:50],
[WEChunk chunkWithDuration:25.0f]
]];
[self.view addSubview:slider];
}
```# Author
Lucas Ortis:
- [email protected]
- [@LucasEkhoo](https://twitter.com/LucasEkhoo)
- [Linkedin](https://fr.linkedin.com/in/lucasortis)# License
WESlider is available under the MIT license. See the LICENSE file for more info.