RGCircularSlider for iOS by RGeleta

Download Source
by 2 people

(Click the stars to add your rating)

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.

License:
MIT
Language:
Objective-C
Sponsored with ❤️ by Instabug
Receive Detailed Feedback and Debug your iOS App 10x Faster
Instabug helps you collect feedback and bug/crash reports from your users and testers. Comprehensive reports are forwarded to Instabug’s dashboard including device details, network requests and most importantly, the reproduction steps. learn more.