FontIcons 1.5.0

FontIcons 1.5.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Dec 2018
SPMSupports SPM

Maintained by Marek Matula.



FontIcons 1.5.0

  • By
  • Marek Matula

FontIcons

Universal library for Font icons. Contains those default implementations:

Source code is based on Font-Awesome-Swift

Need any other font? Create a issue with details.

CI Status Version License Platform

Usage

  • Use FontIcons 1.1.0 with Swift 2.2
  • Use FontIcons 1.2.1 with Swift 2.3
  • Use FontIcons 1.3.1 with Swift 3.0
  • Use FontIcons 1.4.x with Swift => 3.2
  • Use FontIcons 1.5.x with Swift => 4.2

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • Xcode 8

Installation

FontIcons is available through CocoaPods. To install it, simply add the one or more following lines to your Podfile:

pod "FontIcons/FontAwesome"
pod "FontIcons/VaadinIcons"
pod "FontIcons/MaterialDesign"
pod "FontIcons/Ionicons"

Import library in your swift file:

import FontIcons

Set icon with methods

func setFontIcon()
func setFontIconText() 

See Extensions.swift for other available methods. Supported classes are:

UIButton, UIBarButtonItem, UILabel, UIImageView, UITabBarItem, UISegmentedControl, UIImage, UISlider

Author

Marek Matula, [email protected]

License

FontIcons is available under the MIT license. See the LICENSE file for more info. FontFiles have own licenses: