Skip to content

denistrofimov/material-icons-swift

Repository files navigation

material-icons-swift

Material icons font for using in swift

Installation

CocoaPods

pod 'MaterialIconsSwift'

Usage

Get icon font:

label.font = MaterialIcons.fontOfSize(48)

Get icon code from name:

label.text = MaterialIcons.icon("view_headline")

or by constant

label.text = MaterialIcons.ViewHeadline

List all icon names:

print("\(MaterialIcons.icons())")

About

Material icons font for using in swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published