Material Design Icons for IOS - Objective C
Material Design Icon Fonts are from http://zavoloklom.github.io/material-design-iconic-font/icons.html
#import <VCMaterialDesignIcons/VCMaterialDesignIcons>
// create icon with Material Design code and font size
// font size is the basis for icon size
VCMaterialDesignIcons *icon = [VCMaterialDesignIcons iconWithCode:VCMaterialDesignIconCode.md_bug_report fontSize:30.f];
// add attribute to icon
[icon addAttribute:NSForegroundColorAttributeName value:[self getRandomColor]];
// the icon will be drawn to UIImage in a given size
UIImage *image = [icon image];
pod 'VCMaterialDesignIcons'
Before running demo do:
pod update
on MaterialDesignDemo
directory and open MaterialDesignDemo project through MaterialDesignDemo.xcworkspace
Forks for this library are welcome.