Latest | 0.1.2 |
---|---|
Homepage | https://github.com/efremidze/LEFlatButton |
License | MIT |
Platforms | ios 7.0, requires ARC |
Authors |
Overview
LEFlatButton
is a UIButton
subclass with a flat style
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];
;
[self.view addSubview:button];
Contributions
Contributions are totally welcome.
License
LEFlatButton is available under the MIT license. See the LICENSE file for more info.
Latest podspec
{ "name": "LEFlatButton", "version": "0.1.2", "summary": "Simple Flat UIButton", "description": "LEFlatButton is a UIButton subclass with a flat style", "homepage": "https://github.com/efremidze/LEFlatButton", "screenshots": "https://github.com/efremidze/LEFlatButton/raw/master/Screenshots/screenshot.png", "license": "MIT", "authors": { "Lasha Efremidze": "[email protected]" }, "source": { "git": "https://github.com/efremidze/LEFlatButton.git", "tag": "0.1.2" }, "social_media_url": "http://linkedin.com/in/efremidze", "platforms": { "ios": "7.0" }, "requires_arc": true, "source_files": "LEFlatButton/*" }
Sat, 05 Mar 2016 01:09:02 +0000