mohsinalimat / LEFlatButton

Simple Flat UIButton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LEFlatButton

CI Status Version License Platform

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];

Contributions

Contributions are totally welcome.

License

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

About

Simple Flat UIButton

License:MIT License


Languages

Language:Objective-C 91.6%Language:Ruby 8.4%