Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.21 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.21 KB

EntypoSymbol CocoaPods Version Platform License

  • Icon font library for Swift. Currently supports Entypo. ObjectiveC version is here.
  • Entypoアイコンをシンボルフォントで呼び出せるライブラリです。ObjecitveC版はこちら.
  • 詳細な使い方はqiitaに記載してます。

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
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))
import EntypoSymbol

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