Skip to content

tichise/EntypoSymbol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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