平面设计规定,按钮不需要边框……直到它们需要。BDBorderedButton 扩展了 UIButton 并将其恢复为边框。边框的颜色与实例的 tintColor 保持一致。
平面设计规定,按钮不需要边框……直到它们需要。BDBorderedButton 扩展了 UIButton 并将其恢复为边框。边框的颜色与实例的 tintColor 保持一致。
要运行示例项目,请克隆仓库,并首先从 Example 目录运行 pod install
.
BDBorderedButton 可通过 CocoaPods 获取。要安装,只需将以下行添加到您的 Podfile。
pod "BDBorderedButton"
Norsez Orankijanan,http://about.me/norsez
BDBorderedButton可在 MIT 许可下使用。有关更多信息,请参阅 LICENSE 文件。