GoogleMaterialIconFontGoogle Material Design 圖標(biāo)
GoogleMaterialIconFont 是適用于 Swift 和 ObjC 項(xiàng)目的 Google Material Design 圖標(biāo)。該庫的靈感來自 FontAwesome.swift。
使用
Swift
import GoogleMaterialIconFont
label.text = String.materialIcon(.Favorite) label.font = UIFont.materialIconOfSize(32)
Objective-C
import #import <GoogleMaterialIconFont/GoogleMaterialIconFont-Swift.h>
label.text = [NSString materialIcon:MaterialIconFontFavoriteBorder]; label.font = [UIFont materialIconOfSize:32];
評論
圖片
表情
