CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Sep 2016 |
| SPMSupports SPM | ✗ |
Maintained by dekatotoro.
It is based on https://github.com/google/material-design-icons.
it converts the material-design-icons svg file in the font file, it was easy to use.
You can use the 1661 icons!
Add the GoogleIcon.swift, googleicon.ttf file to your project.
info.plist added Fonts provided by application key and
specify the googleicon.ttf to Item0 value.
Please look at the icon/googleicon.html.
googleicon.html has been icon code definition.
The constant of icon code is defined in GoogleIcon class, please use.
GoogleIcon.e600
GoogleIcon.e601
GoogleIcon.e602
GoogleIcon.e603
...
hogeLabel.font = UIFont(name: GoogleIconName, size: 30.0)
hogeLabel.textColor = UIColor.greenColor()
hogeLabel.text = GoogleIcon.e600
You can also be set font in the storyboard. ![]()
To input font characters directly in the Interface Builder, do the following after selecting googlefont:
Option and type four hex digits to enter a Unicode character. Option + e648 to enter the checkmark icon.Requires iOS 7.0.
Forks, patches and other feedback are welcome.
GoogleMaterialDesignIcons is available under the Attribution 4.0 International license.