iOS字体图标:GoogleMaterialDesignIcons

jopen 10年前

Google Material Design Icons Font用于iOS,基于 https://github.com/google/material-design-icons,字体文件包括了所有 material-design-icons svg 文件,非常容易使用,一共包括 1661 个图标。

图标:GoogleMaterialDesignIconssample

用法

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. sample

Requirements

Requires iOS 7.0.

Features

  • Clipboard copy from Html
  • Complete example

项目主页:http://www.open-open.com/lib/view/home/1421130370359