FGThrowSlider

MIT License
Objective-C
iOS

Powered by Appetize.io.

1 image

Author

Description

iOS drop-in control giving you the iOS 7.1 brightness/volume style slider with a dynamic fadeout animation.

Simply copy over the FGThrowSlider.h and FGThrowSlider.m files into your project, create a new instance in the delegate like so:

 FGThrowSlider *slider = [FGThrowSlider sliderWithFrame:
    CGRectMake(50, 300, 200, 50) andDelegate:self];

add it to your view:

 [view addSubview:slider];

and recieve updates at:

 - (void)slider:(FGThrowSlider *)slider changedValue:(CGFloat)v

Feel free to use it in your projects and let me know of any ideas, requests, stuff.

Watch the video for a demo.

Tags

Sponsored with ❤️ by Instabug

Instabug: Understand how your app is doing with real-time contextual insights from your users

Get all the logs you need and fix bugs, crashes, and other issues in minutes instead of days. With Instabug you will automatically receive device data, network logs, and reproduction steps with every bug and crash report. It only takes a line of code to integrate and is perfect for teams that are now working remotely. See more detailed features comparison and try Instabug for free here.

Get Started Now