OcticonsKit internally use octicons.ttf v4.3.0
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.
Target | Version |
---|---|
iOS | => 8.0 |
Swift | => 4.0 |
OcticonsKit is available through CocoaPods or Carthage.
pod "OcticonsKit"
github "keitaoouchi/OcticonsKit"
for detail, please follow the Carthage Instruction
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.