Latest 0.3.0
Homepage https://github.com/denistrofimov/material-icons-swift
License MIT
Platforms ios 8.0
Authors

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())")

Latest podspec

{
    "name": "MaterialIconsSwift",
    "version": "0.3.0",
    "summary": "Material icons font for using in swift",
    "description": "# material-icons-swiftnMaterial icons font for using in swiftnn## Installationnn### CocoaPodsnn```npod 'MaterialIconsSwift'n```nn## UsagennGet icon font:nn```swiftnlabel.font = MaterialIcons.fontOfSize(48)n```nnGet icon code from name:nn```swiftnlabel.text = MaterialIcons.icon("view_headline")n```nnor by constantnn```nlabel.text = MaterialIcons.ViewHeadlinen```nnList all icon names:nn```swiftnprint("(MaterialIcons.icons())")n```",
    "homepage": "https://github.com/denistrofimov/material-icons-swift",
    "license": "MIT",
    "authors": {
        "Trofimov Denis": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/denistrofimov/material-icons-swift.git",
        "tag": "0.3.0"
    },
    "source_files": "MaterialIconsSwift/MaterialIcons.swift",
    "resources": "MaterialIconsSwift/MaterialIcons-Regular.ttf"
}

Pin It on Pinterest

Share This