Japankeitaoouchi/OcticonsKit
Use Octicons in your Swift projects.
OcticonsKit
OcticonsKit internally use octicons.ttf v4.3.0
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
octicons as UILabel
someLabel.font = UIFont.octicon(of: 18)
someLabel.text = String.octicon(with: .flame)
octicons as UIImage
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.
Requirements
| Target | Version |
|---|---|
| iOS | => 8.0 |
| Swift | => 4.0 |
Installation
OcticonsKit is available through CocoaPods or Carthage.
CocoaPods
pod "OcticonsKit"
Carthage
github "keitaoouchi/OcticonsKit"
for detail, please follow the Carthage Instruction
Author
keita.oouchi, keita.oouchi@gmail.com
License
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.
Similar Projects
Discover other similar projects and AI models.
A handy collection of more than 500 native Swift extensions to boost your productivity.
Fully customizable and extensible action sheet controller written in Swift