在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):kitasuke/GoogleMaterialIconFont开源软件地址(OpenSource Url):https://github.com/kitasuke/GoogleMaterialIconFont开源编程语言(OpenSource Language):Swift 94.2%开源软件介绍(OpenSource Introduction):GoogleMaterialIconFontGoogle Material Design Icons for Swift and ObjC project This library is inspired by FontAwesome.swift Both Swift and Objctive-C are supported UsageSwiftimport label.text = String.materialIcon(.Favorite)
label.font = UIFont.materialIconOfSize(32) Objective-Cimport label.text = [NSString materialIcon:MaterialIconFontFavoriteBorder];
label.font = [UIFont materialIconOfSize:32]; RequirementsiOS8+ InstallationCocoaPodsGoogleMaterialIconFont is available through CocoaPods. To install it, simply add the following line to your Podfile: pod "GoogleMaterialIconFont"
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '2.3'
end
end
end Then, run In case you haven't installed CocoaPods yet, run the following command
CarthageGoogleMaterialIconFont is available through Carthage. To install GoogleMaterialIconFont into your Xcode project using Carthage, specify it in your Cartfile:
You can see In case you haven't installed Carthage yet, download the latest pkg from Carthage ManualCopy all the files in LicenseThis library uses material-design-icons by Google to create icon font file which is GoogleMaterialIconFont is available under the MIT license. See the LICENSE file for more info. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论