SwiftUIFontIcons
示例
要运行示例项目,首先克隆仓库,然后从 Example 目录中运行 pod install
需求
安装
SwiftUIFontIcons 通过 CocoaPods 提供。要安装它,只需将以下行添加到 Podfile 中
pod 'SwiftUIFontIcons'
使用
import SwiftUIFontIcons
struct ContentView: View {
var body: some View {
VStack {
FontIcon.FA(.gear, 33)
FontIcon.MI(.traffic, 40)
FontIcon.ION(.ios_mail, 23)
}
}
}
作者
farhanlatheef, [邮箱地址被隐藏]
许可
SwiftUIFontIcons 遵循 MIT 许可。更多详细信息,请参阅 LICENSE 文件。