LEFlatButton 0.1.2

LEFlatButton 0.1.2

测试已测试
Lang语言 Obj-CObjective C
许可证 MIT
发布最后发布2015 年 4 月

Lasha Efremidze 维护。




概述

LEFlatButton 是一个具有平面样式的 UIButton 子类

Screenshot Screenshot 2

用法

安装

LEFlatButton 可通过 CocoaPods 访问。要安装它,只需将以下行添加到您的 Podfile 中

pod "LEFlatButton"

示例

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

许可证

LEFlatButton 基于 MIT 许可证。有关更多信息,请参阅 LICENSE 文件。