SkillAgentSearch skills...

FGThrowSlider

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

Install / Use

/learn @finngaida/FGThrowSlider
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

View on GitHub
GitHub Stars39
CategoryDevelopment
Updated2y ago
Forks5

Languages

Objective-C

Security Score

75/100

Audited on Feb 12, 2024

No findings