[翻译] GoogleMaterialDesignIcons
GoogleMaterialDesignIcons

Google Material Design Icons Font for iOS
GMD图片样式的字体,用于iOS开发.
It is based on https://github.com/google/material-design-icons.
这是基于https://github.com/google/material-design-icons来开发的.
it converts the material-design-icons svg file in the font file, it was easy to use.
这是将SVG文件转换成了字体文件,使用非常简单.
You can use the 1661 icons!
里面有1661个样式供您使用!

Benefits of using the Font - 使用这种字体的好处
- Import is easier to project(Since held together in one file) 将文件导入到工程当中
- Color easy to change 很容易的修改颜色
- Resistant to change size 可以直接的修改尺寸
- Management easier 管理很方便
- Put out in the text as part of the AttributedString 可以作为富文本输出
comming soon...
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.
将GoogleIcon.swift与googleicon.ttf拖到你的项目当中.
然后修改info.plist文件,然后设置下即可.
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.
请查看 icon/googleicon.html 文件,googleicon.html已经对icon有过编码,你可以直接用下面的方式来使用.
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.
你也可以在storyboard上设置字体.

Requirements - 需要的环境
Requires iOS 7.0.
- Clipboard copy from Html 从Html上复制而来
- Complete example 完整的示例演示
Forks, patches and other feedback are welcome.
GoogleMaterialDesignIcons is available under the Attribution 4.0 International license.

浙公网安备 33010602011771号