UIImageSymbols
对 UIImage 的 SF Symbols 静态变量扩展。
需求
安装
UIImageSymbols 可通过 CocoaPods 使用。要安装它,只需将以下行添加到您的 Podfile 中
pod 'UIImageSymbols'
用法
let image: UIImage? = .cCircle // UIImage(systemName: "c.circle")
let image: UIImage? = .eCircleFill // UIImage(systemName: "e.circle.fill")
let image: UIImage? = ._11CircleFill // UIImage(systemName: "11.circle.fill")
作者
Jianqiu Xiao, [email protected]
赞助商
许可证
UIImageSymbols在MIT许可证下可用。有关更多信息,请参阅LICENSE文件。