Iconic helps making icon fonts integration effortless on iOS, tvOS and watchOS. Its main component is in charge of auto-generating strongly typed Swift code with SwiftGen, compatible with Objective-C.
You will interact with an auto-generated class under the name of {FontName}Icon.swift, which is a light abstraction of the IconDrawable.swift protocol. For more information, have a look at how to install and how to use.
Give Iconic a test drive by simply doing pod try Iconic in your terminal, and pick the Samples.xcworkspace.
Key Features:
- Easy installation over CocoaPods
- Auto-generated enums and unicodes mapping, out of the font’s PUA range
- NSAttributedString and UIImage outputs
- Supports TTF and OTF font files
- Fonts are included and registered dynamically
- Interface Builder support (iOS & tvOS only)
- UIKit extensions for UIBarButtonItem, UITabBarItem and UIButton (iOS & tvOS only)
- Auto-generated icon font html catalog
- Compatible with Swift 3.0 and Objective-C
- iOS 8 or later
- tvOS 9 or later
- watchOS 2 or later