Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tichise/entyposymbol
Icon font library for Swift
https://github.com/tichise/entyposymbol
cocoapods entypo font font-library objectivec swift
Last synced: 7 days ago
JSON representation
Icon font library for Swift
- Host: GitHub
- URL: https://github.com/tichise/entyposymbol
- Owner: tichise
- License: other
- Created: 2015-05-10T12:57:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-23T07:39:59.000Z (4 months ago)
- Last Synced: 2024-12-18T09:37:32.159Z (15 days ago)
- Topics: cocoapods, entypo, font, font-library, objectivec, swift
- Language: Swift
- Homepage:
- Size: 137 KB
- Stars: 44
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
#### EntypoSymbol ![CocoaPods Version](https://img.shields.io/cocoapods/v/EntypoSymbol.svg?style=flat) ![Platform](https://img.shields.io/cocoapods/p/EntypoSymbol.svg?style=flat) ![License](https://img.shields.io/cocoapods/l/EntypoSymbol.svg?style=flat)
- Icon font library for Swift. Currently supports Entypo. ObjectiveC version is [here](https://github.com/tichise/EntypoSymbolObjC).
- Entypoアイコンをシンボルフォントで呼び出せるライブラリです。ObjecitveC版は[こちら](https://github.com/tichise/EntypoSymbolObjC).
- 詳細な使い方は[qiita](http://qiita.com/tichise/items/0b26a7a47c3862c4ca50)に記載してます。#### Licence
font used in this projectAuthor of the font used in this project: Entypo
Link: http://www.entypo.com/Creative Commons Attribution 4.0 International (CC BY 4.0)
#### Examples Swift
##### Image
```html
import EntypoSymbollet symbol = EntypoSymbol(text: EntypoIcon.install, size:25)
symbol.addAttribute(attributeName: NSAttributedString.Key.foregroundColor, value: UIColor.red)
let iconImage = symbol.image(size: CGSizeMake(25, 25))
``````html
import EntypoSymbolsampleLabel.font = EntypoFont.fontOfSize(40)
sampleLabel.text = EntypoIcon.creativeCommons
```