Latest 2.0.1
Homepage https://github.com/tomsterritt/IoniconsSwift
License MIT
Platforms ios 8.0, requires ARC
Authors

IoniconsSwift

Easily use ionicons in your Swift projects

A Swift port of sweetmandm/ionicons-iOS.

Currently using IonIcons v2.0.1

Usage

For available icons, look at ionicon.swift – these should autocomplete using ionicon.[...]

Font

UIFont.ioniconFontOfSize(30.0)

Label

UILabel.labelWithIonicon(ionicon.Wand, color: UIColor.redColor(), iconSize: 20.0)

Image

UIImage.imageWithIonicon(ionicon.Wand, color: UIColor.greenColor(), iconSize: 40.0, imageSize: CGSizeMake(50, 50))

Install

Cocoapods

pod 'Ionicons-Swift', '2.0.1'

Manual

Drag the ionicons folder into your project

Latest podspec

{
    "name": "Ionicons-Swift",
    "version": "2.0.1",
    "summary": "Swift port of ionicons-iOS. Allows you to easily use ionicons in your Swift projects.",
    "homepage": "https://github.com/tomsterritt/IoniconsSwift",
    "license": {
        "type": "MIT",
        "file": "ionicons/LICENSE.md"
    },
    "authors": {
        "Tom Sterritt": "[email protected]"
    },
    "source": {
        "git": "https://github.com/tomsterritt/IoniconsSwift.git",
        "tag": "2.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "ionicons/*.swift",
    "resources": "ionicons/ionicons.bundle",
    "requires_arc": true
}

Pin It on Pinterest

Share This