LEFlatButton 0.1.2

LEFlatButton 0.1.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Apr 2015

Maintained by Lasha Efremidze.




Overview

LEFlatButton is a UIButton subclass with a flat style

Screenshot Screenshot 2

Usage

Installation

LEFlatButton is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "LEFlatButton"

Example

LEFlatButton *button = [[LEFlatButton alloc] initWithFrame:(CGRect){0, 0, 240, 40}];
button.layer.cornerRadius = 6.0f;
button.layer.masksToBounds = YES;
button.backgroundColor = [UIColor redColor];
[button setFlatTitle:@"Red Button"];
[self.view addSubview:button];

License

LEFlatButton is available under the MIT license. See the LICENSE file for more info.