Skip to content

tichise/MaterialDesignSymbolObjC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MaterialDesignSymbolObjC CocoaPods Version Platform License

Icon font library for Objective C. Currently supports GoogleMaterialDesignIcons. Swift version is here.

Googleのマテリアルデザインアイコンをシンボルフォントで呼び出せるObjectiveCライブラリです。Swift版は こちら.

Licence

font 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)

Examples

Image
#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)

pod MaterialDesignSymbolObjC

Related products