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: 6 days 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 (about 1 month 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
![WESlider](https://github.com/Ekhoo/WESlider/blob/master/Source/Asset/weslider.png)
[![Version](https://img.shields.io/cocoapods/v/WESlider.svg?style=flat)](http://cocoapods.org/pods/WESlider)
[![License](https://img.shields.io/cocoapods/l/WESlider.svg?style=flat)](http://cocoapods.org/pods/WESlider)
[![Platform](https://img.shields.io/cocoapods/p/WESlider.svg?style=flat)](http://cocoapods.org/pods/WESlider)
![](https://img.shields.io/badge/Supported-iOS7-4BC51D.svg?style=flat-square)Simple and light weight slider with chapter management
# Demo
![WESlider](https://github.com/Ekhoo/WESlider/blob/master/Source/Asset/slider.gif)# 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.