Latest 1.1.0
Homepage https://github.com/keitaoouchi/IoniconsKit
License MIT
Platforms ios 8.0
Authors

CI Status
Swift 4.0
Carthage compatible
Version
License
Platform

IoniconsKit

IoniconsKit internally use ionicons.ttf v2.0.1

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Ionicons as UILabel

someLabel.font = UIFont.ionicon(of: 18)
someLabel.text = String.ionicon(with: .socialTwitter)

Ionicons as UIImage

someImageView.image = UIImage.ionicon(with: .socialFacebook, 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

For Swift3.X, please use v0.1.1.

Installation

IoniconsKit is available through CocoaPods or Carthage.

CocoaPods

pod "IoniconsKit"

Carthage

github "keitaoouchi/IoniconsKit"

for detail, please follow the Carthage Instruction

Author

keita.oouchi, [email protected]

License

ionicons.ttf file is licensed under MIT license.

IoniconsKit is available under the MIT license. See the LICENSE file for more info.

Latest podspec

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

Pin It on Pinterest

Share This