Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 project

Author 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 EntypoSymbol

let 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 EntypoSymbol

sampleLabel.font = EntypoFont.fontOfSize(40)
sampleLabel.text = EntypoIcon.creativeCommons
```