Octicons
GitHub Octicons for Swift 3.0 on macOS
Installation
Carthage
github "fundon/Octicons"
Examples
import Octicons
// NSImage
imageView.image = NSImage.icon(fontName: "octicons", code: "\u{f00a}", size: CGSize(width: 100, height: 100))
// NSTextField
textField.stringValue = "\u{f00a}"
textField.font = NSFont.icon(fontName: "octicons", size: 100)
textField.textColor = NSColor.blue
License
This project licensed under MIT.
GitHub Octicons licensed under SIL OFL 1.1.