TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | Apache 2 |
ReleasedLast Release | Feb 2015 |
SPMSupports SPM | ✗ |
Maintained by Sedat CIFTCI.
pod 'SDevIconFonts'
Add the Fonts provided by application key to Info.plist
public enum Fonts {
case FontAwesome, Iconic, Ionicon, Octicon
}
var label: UILabel = UILabel(frame: CGRectMake(50, 50, 100, 50))
label.font = UIFont.iconFontOfSize(.FontAwesome, fontSize: 50.0)
label.text = String.fontAwesomeIconWithName("twitter")
var label4: UILabel = UILabel(frame: CGRectMake(210, 50, 100, 50))
label4.font = UIFont.iconFontOfSize(.Iconic, fontSize: 50.0)
label4.text = String.fontIconicIconWithName("dial")
var label2: UILabel = UILabel(frame: CGRectMake(100, 50, 100, 50))
label2.font = UIFont.iconFontOfSize(.Ionicon, fontSize: 50.0)
label2.text = String.fontIonIconWithName("ionic")
var label3: UILabel = UILabel(frame: CGRectMake(150, 50, 100, 50))
label3.font = UIFont.iconFontOfSize(.Octicon, fontSize: 50.0)
label3.text = String.fontOcticonWithName("octoface")