Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terminatorover/rgcircularslider
https://github.com/terminatorover/rgcircularslider
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/terminatorover/rgcircularslider
- Owner: terminatorover
- Created: 2014-12-07T06:37:01.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-08T21:11:36.000Z (about 10 years ago)
- Last Synced: 2023-08-03T15:20:56.791Z (over 1 year ago)
- Language: Objective-C
- Size: 387 KB
- Stars: 14
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
RGCircularSlider
==============
To use this control with interface builder you just need to drop RGCircularSlider in for the class of the
view in the storyboard of .xib file. You can also use initWithFrame: . To get the value of degree and the
state of the button(play or pause) you need to implement the RGCircularSliderDelegate Protocol .- (void)currentDegree:(NSInteger)degree;
- (void)onPlay:(BOOL)state;0 ≤ degree ≤ 360
and state is YES when you see the "play button" and NO when you see the "pause button".Note: to make this control look good the width and heigh of the view should be equal since
we want a circle.