TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
LRGlowingButton is a subclass of UIButton which has custom glow built-in.
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.
LRGlowingButton.h
, LRGlowingButton.m
folder into your project. 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];