Google Material Design 图标,用于 Swift 和 ObjC 项目。
使用
import GoogleMaterialIconFont
GoogleMaterialIconFont
label.text = String.materialIcon(.Favorite) label.font = UIFont.materialIconOfSize(32)
import #import <GoogleMaterialIconFont/GoogleMaterialIconFont-Swift.h>
#import <GoogleMaterialIconFont/GoogleMaterialIconFont-Swift.h>
label.text = [NSString materialIcon:MaterialIconFontFavoriteBorder]; label.font = [UIFont materialIconOfSize:32];