To run the example project, clone the repo, and run pod install
from the Example directory first.
someLabel.font = UIFont.octicon(of: 18)
someLabel.text = String.octicon(with: .flame)
someImageView.image = UIImage.octicon(with: .flame, textColor: UIColor.orange, size: CGSize(width: 18, height: 18))
For another icons, plaease see the source, or build Example App.
iOS 8 or later. Swift3.0 or later.
OcticonsKit is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "OcticonsKit"
keita.oouchi, [email protected]
octicons.ttf file is licensed under MIT license. When using the GitHub logos, be sure to follow the GitHub logo guidelines.
OcticonsKit is available under the MIT license. See the LICENSE file for more info.