CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

ACMaterialDesignIcons 0.2.0

ACMaterialDesignIcons 0.2.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Axel Campana.



  • By
  • Axel Ros E. Campaña

ACMaterialDesignIcons

Material Design Icons for IOS - Swift 3

About

Based on VCMaterialDesignIcons - https://github.com/viktoricalonia/VCMaterialDesignIcons

Material Design Icon Fonts are from http://zavoloklom.github.io/material-design-iconic-font/icons.html

Usage

import ACMaterialDesignIcons

// create icon with Material Design code and font size
// font size is the basis for icon size

let icon = ACMaterialDesignIcons.icon(withCode: ACMaterialDesignIconCode.md_notifications, fontSize: 30.0)

// add attribute to icon
icon?.addAttribute(NSForegroundColorAttributeName, value: UIColor.white)

// the icon will be drawn to UIImage in a given size

let image = icon?.image()