IconFont 阿里矢量图标库 管理与使用范例
安装
CaamDau 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中
pod 'CaamDau/IconFont'
self.img.cd.iconfont(IconFont.temoji(60), color: UIColor.red, mode: .center)
self.lab_icon.cd.iconfont(IconFont.temoji(60))
self.lab_icon.cd.text(IconFont.temoji(60).attributedString)
self.btn.cd
.text(IconFont.temoji(60).font)
.text(IconFont.temoji(60).text)
self.btn.cd.text(IconFont.temoji(60).attributedString)
self.btn.cd.iconfont(IconFont.temoji(60), style: .image(.normal, color: UIColor.red, mode: .center))
阿里矢量图标资源管理 代码自动化脚本
附:作者
liucaide, [email protected]
许可证
CaamDau 在 MIT 许可下可用。有关更多信息,请参阅 LICENSE 文件。