Skip to content

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

License

Notifications You must be signed in to change notification settings

tomsterritt/IoniconsSwift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published