Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dekatotoro/GoogleMaterialDesignIcons
Google Material Design Icons Font for iOS
https://github.com/dekatotoro/GoogleMaterialDesignIcons
Last synced: 6 days ago
JSON representation
Google Material Design Icons Font for iOS
- Host: GitHub
- URL: https://github.com/dekatotoro/GoogleMaterialDesignIcons
- Owner: dekatotoro
- License: cc-by-4.0
- Created: 2014-12-09T12:02:42.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-10-01T18:30:42.000Z (about 6 years ago)
- Last Synced: 2024-11-30T10:12:21.557Z (12 days ago)
- Language: HTML
- Homepage:
- Size: 3.48 MB
- Stars: 366
- Watchers: 23
- Forks: 70
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - GoogleMaterialDesignIcons - Google Material Design Icons Font for iOS. (Text / Font)
- awesome-material-design - GoogleMaterialDesignIcons - Icons ported to iOS (iOS / Components)
- awesome-ios-star - GoogleMaterialDesignIcons - Google Material Design Icons Font for iOS. (Text / Font)
- awesome-swift-cn - GoogleMaterialDesignIcons - google Material Design Icons Font for iOS. (Libs / Fonts)
README
GoogleMaterialDesignIcons
=========================[![Platform](http://img.shields.io/badge/platform-ios-blue.svg?style=flat
)](https://developer.apple.com/iphone/index.action)
[![Language](http://img.shields.io/badge/language-swift-brightgreen.svg?style=flat
)](https://developer.apple.com/swift)
[![Issues](https://img.shields.io/github/issues/dekatotoro/GoogleMaterialDesignIcons.svg?style=flat
)](https://github.com/dekatotoro/GoogleMaterialDesignIcons/issues?state=open)#Google Material Design Icons Font for 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.
**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.```swift
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](Screenshots/GoogleMaterialDesignIconsLabel.png)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](https://github.com/dekatotoro)
[Blog](http://buzzmemo.blogspot.jp/)## License
GoogleMaterialDesignIcons is available under the [Attribution 4.0 International](http://creativecommons.org/licenses/by/4.0/) license.