CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

EntypoSymbol 1.9.2

EntypoSymbol 1.9.2

TestsTested
LangLanguage SwiftSwift
License NOASSERTION
ReleasedLast Release Apr 2019
SPMSupports SPM

Maintained by Takuya Ichise.



EntypoSymbol CocoaPods Version Platform License

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

Image

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

var symbol:EntypoSymbol = EntypoSymbol(text:EntypoIcon.install, size:25)
symbol.addAttribute(NSForegroundColorAttributeName, value: UIColor.redColor())
var iconImage:UIImage = symbol.imageWithSize(CGSizeMake(25, 25))
import EntypoSymbol

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

Examples Objective C

Image
@import EntypoSymbol;

EntypoSymbol *symbol = [[EntypoSymbol alloc] initWithText:[EntypoIcon install] size:30];
[symbol addAttributeWithAttributeName:NSForegroundColorAttributeName value:[UIColor blackColor]];
sampleImageView.image = [symbol imageWithSize:CGSizeMake(30, 30)];
@import EntypoSymbol;

sampleLabel.font = [EntypoFont fontOfSize:20];
sampleLabel.text = [EntypoIcon install];

Installation (CocoaPods)

pod EntypoSymbol