Swift port of ionicons-iOS. Allows you to easily use ionicons in your Swift projects.
Swift Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Example-ionicons
ionicons
.gitignore
Ionicons-Swift.podspec
LICENSE.md
README.md
Rakefile

README.md

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