SWTextAndImageButton 0.1.0

SWTextAndImageButton 0.1.0

测试已测试
语言语言 Obj-CObjective C
许可协议 MIT
发布日期最后发布日期2017年7月

isongwei 维护。



  • 作者
  • isongwei

示例

要运行示例项目,请先克隆该仓库,然后首先从 Example 目录运行 pod install

要求

安装

SWTextAndImageButton 可以通过 CocoaPods 使用。要安装它,只需将以下行添加到 Podfile

pod 'SWTextAndImageButton', '~>0.0.4'

使用

code
SWTextAndImageButton * btn
btn.rectType =SWButtonTypeTextLeft;  //方向
btn.contentDistance = 10; // 文字图片间的距离
btn.padding = 20; // 边距

xib

作者

[email protected]

许可协议

SWTextAndImageButton 在 MIT 许可协议下可用。有关更多信息,请参阅 LICENSE 文件。