IoniconsSwift

Swift port of ionicons-iOS. Allows you to easily use ionicons in your Swift projects.

1 year after

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', :git => 'https://github.com/tomsterritt/IoniconsSwift'

Manual

Drag the ionicons folder into your project