Latest 1.1.0
Homepage https://github.com/keitaoouchi/OcticonsKit
License MIT
Platforms ios 8.0, requires ARC
Authors

CI Status
Swift 4.0
Carthage compatible
Version
License
Platform

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, [email protected]

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.

Latest podspec

{
    "name": "OcticonsKit",
    "version": "1.1.0",
    "summary": "Octicons for Swift and Objective-C with type safed manner.",
    "homepage": "https://github.com/keitaoouchi/OcticonsKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "keita.oouchi": "[email protected]"
    },
    "source": {
        "git": "https://github.com/keitaoouchi/OcticonsKit.git",
        "tag": "1.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "OcticonsKit/Classes/**/*",
    "resource_bundles": {
        "OcticonsKit": [
            "OcticonsKit/Assets/*.ttf"
        ]
    }
}

Pin It on Pinterest

Share This