Gridicons 0.19

Gridicons 0.19

TestsTested
LangLanguage SwiftSwift
License GPL-2.0
ReleasedLast Release Sep 2019
SPMSupports SPM

Maintained by James Frost, Diego Rey Mendez, Diego Rey Mendez, Jorge Leandro Perez, Paolo Musolino, Eduardo Toledo, Gerardo Pacheco, Brandon Titus, Daniele Bogo, Jorge Bernal, Aaron Douglas, Sérgio Estêvão, Elisa Budelli, Cesar Tardaguila, Thuy Copeland, Lorenzo Mattei, Matt Bumgardner, Eric Johnson, Eduardo Toledo, Stephenie Harris, Jaclyn Chen, Chip Snyder, Jeremy Massel, Pinar Olguc, Emily Laguna, Leandro Alonso, Paul Von Schrottky, Stefanos Togoulidis, Ceyhun Ozugur, Jayson Basañes, Rachel McRoberts, Yael Rubinstein, Giorgio Ruscigno, Automattic Mobile.



CircleCI Version License Platform

Gridicons iOS

Gridicons-iOS is a small framework which produces images of the Gridicons icon set.

The framework can be installed either via CocoaPods:

pod 'Gridicons', :podspec => 'https://raw.github.com/Automattic/Gridicons-iOS/develop/Gridicons.podspec'

or Carthage:

github 'Automattic/Gridicons-iOS'

Usage

First, import the framework:

import Gridicons

Getting a UIImage of a Gridicon is as simple as:

let icon = Gridicon.iconOfType(.Pages)

You can optionally specify a size (default is 24 x 24):

let icon = Gridicon.iconOfType(.Pages, withSize: CGSize(width: 100, height: 100))

The images that the framework produces use the AlwaysTemplate rendering mode, so you can tint them however you like.

License

Gridicons-iOS is licensed under GNU General Public License v2 (or later).