LRGlowingButton

Subclass of UIButton with custom glow color.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

38

Maintenance

Last Commit

8yrs ago

Contributors

1

Package

Dependencies

0

License

MIT

Categories

Readme

LRGlowingButton

LRGlowingButton is a subclass of UIButton which has custom glow built-in.

Installation

Important note if your project uses ARC: you must add the -fno-objc-arc compiler flag to LRGlowingButton.m in Target Settings > Build Phases > Compile Sources.

  • Drag the LRGlowingButton.h, LRGlowingButton.m folder into your project.
  • Add the QuartzCore framework to your project.

Usage

In its simplest form, this is how you create an LRGlowingButton instance:

LRGlowingButton *button = [LRGlowingButton buttonWithType:UIButtonTypeCustom];
button.glowsWhenHighlighted = YES;
button.highlightedGlowColor = [UIColor whiteColor];
[self.view addSubview:button];

Result

     Example White      Example Red

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100