Skip to content
프로젝트

dekatotoro/GoogleMaterialDesignIcons

GitHub에서 보기

소개

Google Material Design Icons Font for iOS

디자인 및 미디어

이 수치를 측정하는 방법

What you can do

  • Clipboard copy from Html
  • Complete example

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

GoogleMaterialDesignIcons

Platform Language Issues

#Google Material Design Icons Font for iOS 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!


![sample](Screenshots/GoogleMaterialDesignIcons.gif)

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

##Installation

####CocoaPods comming soon...

####Manually 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.

##Usage

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

To input font characters directly in the Interface Builder, do the following after selecting googlefont:

  1. Add the "Unicode Hex Input" input source under (System Preferences > Keyboard > Input Sources).
  2. Hold down Option and type four hex digits to enter a Unicode character.
    For example, you can Option + e648 to enter the checkmark icon.

Requirements

Requires iOS 7.0.

Features

  • Clipboard copy from Html
  • Complete example

Contributing

Forks, patches and other feedback are welcome.

Creator

Yuji Hato Blog

License

GoogleMaterialDesignIcons is available under the Attribution 4.0 International license.

관련 프로젝트 살펴보기

불러오는 중…