Coder Social home page Coder Social logo

tonyce / googlematerialdesignicons Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dekatotoro/googlematerialdesignicons

0.0 1.0 0.0 3.79 MB

Google Material Design Icons Font for iOS

License: Creative Commons Attribution 4.0 International

Ruby 0.06% Swift 10.20% CSS 7.84% JavaScript 0.07% HTML 81.83%

googlematerialdesignicons's Introduction

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

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.