Latest 0.2.0
Homepage https://github.com/actilot/ACMaterialDesignIcons
License mit
Platforms ios 10.0, requires ARC
Authors

Material Design Icons for IOS – Swift 3

Platform

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

Installation (CocoaPods)

pod 'ACMaterialDesignIcons'

Latest podspec

{
    "name": "ACMaterialDesignIcons",
    "version": "0.2.0",
    "summary": "MaterialDesign icon api for IOS - Swift",
    "homepage": "https://github.com/actilot/ACMaterialDesignIcons",
    "platforms": {
        "ios": "10.0"
    },
    "requires_arc": true,
    "description": "Convenience methods for adding material design icon and converting to images.nMaterial Design Icons v2.2.0. check on http://zavoloklom.github.io/material-design-iconic-font/",
    "ios": {
        "frameworks": [
            "UIKit",
            "Coretext"
        ]
    },
    "license": "mit",
    "authors": {
        "Axel Ros E. Campau00f1a": "[email protected]"
    },
    "source": {
        "git": "https://github.com/actilot/ACMaterialDesignIcons.git"
    },
    "source_files": "*.swift",
    "resource_bundles": {
        "ACMaterialDesignIcons": "*.ttf"
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This