Skip to content

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

License

Notifications You must be signed in to change notification settings

BilalReffas/FGThrowSlider

 
 

Repository files navigation

FGThrowSlider

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];
or FGThrowSlider *slider = [FGThrowSlider sliderWithFrame:CGRectMake(50, 250, 200, 50) delegate:self leftTrack:[UIImage] rightTrack:[UIImage] thumb:[UIImage]];
add it to your view:
[view addSubview:slider];
and recieve updates at:
- (void)slider:(FGThrowSlider *)slider changedValue:(CGFloat)value

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

alt tag

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%