开源软件名称(OpenSource Name):tichise/MaterialDesignSymbolObjC开源软件地址(OpenSource Url):https://github.com/tichise/MaterialDesignSymbolObjC开源编程语言(OpenSource Language):Objective-C 99.6%开源软件介绍(OpenSource Introduction):MaterialDesignSymbolObjCIcon font library for Objective C. Currently supports GoogleMaterialDesignIcons. Swift version is here. Googleのマテリアルデザインアイコンをシンボルフォントで呼び出せるObjectiveCライブラリです。Swift版は こちら. Licencefont used in this project Author of the font used in this project: Google Link: https://github.com/google/material-design-icons Creative Commons Attribution 4.0 International (CC BY 4.0) ExamplesImage#import "MaterialDesignSymbol.h"
MaterialDesignSymbol *symbol = [MaterialDesignSymbol iconWithCode:MaterialDesignIconCode.home48px fontSize:30.f];
[symbol addAttribute:NSForegroundColorAttributeName value:[UIColor blackColor]];
UIImage *image = [symbol image];
// UIImage *image = [symbol imageWithSize:CGSizeMake(30, 30)]; Installation (CocoaPods)
Related products
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论