Skip to content

terminatorover/RGCircularSlider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published