All Projects → tichise → Materialdesignsymbol

tichise / Materialdesignsymbol

Licence: mit
Icon font library for Swift. Currently supports GoogleMaterialDesignIcons

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Materialdesignsymbol

Material Showcase Ios
✨ An elegant way to guide your beloved users in iOS apps - Material Showcase.
Stars: ✭ 300 (+226.09%)
Mutual labels:  cocoapods, material-design
Materialactivityindicator
Material Activity Indicator
Stars: ✭ 109 (+18.48%)
Mutual labels:  cocoapods, material-design
Font Awesome Swift
Font Awesome swift library for iOS.
Stars: ✭ 743 (+707.61%)
Mutual labels:  cocoapods, font
Jjfloatingactionbutton
Floating Action Button for iOS
Stars: ✭ 243 (+164.13%)
Mutual labels:  cocoapods, material-design
Swifticonfont
Icons fonts for iOS (Font Awesome 5, Iconic, Ionicon, Octicon, Themify, MapIcon, MaterialIcon, Foundation 3, Elegant Icon, Captain Icon)
Stars: ✭ 1,094 (+1089.13%)
Mutual labels:  cocoapods, font
Xmlmapper
A simple way to map XML to Objects written in Swift
Stars: ✭ 90 (-2.17%)
Mutual labels:  cocoapods
Materialdesignlibrary
This is a library with components of Android L to you use in android 2.2
Stars: ✭ 9,102 (+9793.48%)
Mutual labels:  material-design
Birthdaybuddy
A simple material-design orientated app to handle your friends' birthdays and other special events
Stars: ✭ 90 (-2.17%)
Mutual labels:  material-design
Official Bash Logo
Everything you need to start using the official GNU Bash logo
Stars: ✭ 89 (-3.26%)
Mutual labels:  font
San Mui
A Set of SAN Components that Implement Google's Material Design
Stars: ✭ 92 (+0%)
Mutual labels:  material-design
Kotlin Mpp Standard
A standard setup for Kotlin multiplatform projects.
Stars: ✭ 92 (+0%)
Mutual labels:  cocoapods
Cdnjs
🤖 CDN assets - The #1 free and open source CDN built to make life easier for developers.
Stars: ✭ 9,270 (+9976.09%)
Mutual labels:  font
Coordinateaxischart
Drawing graphs of point, linear function, power function, exponential function, logarithmic function, circular function, etc in a coordinate. (实现了在坐标系中画点,一次函数,幂函数,指数函数,对数函数,三角函数等)
Stars: ✭ 90 (-2.17%)
Mutual labels:  cocoapods
Iconshowcase
Full-of-features, easy-to-customize, free and open source, Material Design dashboard for icon packs.
Stars: ✭ 91 (-1.09%)
Mutual labels:  material-design
Movie android flutter
A sample movie app, developed on flutter, then on android
Stars: ✭ 90 (-2.17%)
Mutual labels:  material-design
Materialtabstemplate
MaterialTabsTemplate is solely created to reduce the burden of writing same boiler plate codes for Tab creation in Android.
Stars: ✭ 92 (+0%)
Mutual labels:  material-design
Mbpopup
macOS status bar popups done right 😎
Stars: ✭ 89 (-3.26%)
Mutual labels:  cocoapods
Source Han Sans
Source Han Sans | 思源黑体 | 思源黑體 | 思源黑體 香港 | 源ノ角ゴシック | 본고딕
Stars: ✭ 10,181 (+10966.3%)
Mutual labels:  font
Beautify With Vuetify
Learn how to create beautiful web applications with Vuetify!
Stars: ✭ 92 (+0%)
Mutual labels:  material-design
Icon Workshop
图标工场 - 移动应用图标生成工具,一键生成所有尺寸的应用图标和启动图
Stars: ✭ 1,303 (+1316.3%)
Mutual labels:  material-design

MaterialDesignSymbol

Icon font library for Swift. Currently supports GoogleMaterialDesignIcons. ObjectiveC version is here.

Image

image

Licence

font used in this project

Author of the font used in this project: Google Link: https://github.com/google/material-design-icons

Creative Commons Attribution 4.0 International (CC BY 4.0)

Examples Swift

SwiftUI / Image

If you use ver 2.4.0 or higher, it's available for the SwiftUI.

import SwiftUI
import MaterialDesignSymbol

@available(iOS 13.0.0, *)
struct SampleView: View {
        
    var body: some View {
        VStack {
            Image(materialDesignIcon: .work48px, size: 50)
            Image(materialDesignIcon: .album24px, size: 30, color: .green)
        }
    }
}

@available(iOS 14.0.0, *)
struct SampleView: View {
        
    var body: some View {
        VStack {
            Image(materialDesignIcon: .work48px, size: 50)
            Image(materialDesignIcon: .album24px, size: 30, color: Color.green)
        }
    }
}
UIKit / UIImage
import MaterialDesignSymbol

let symbol = MaterialDesignSymbol(text:MaterialDesignIcon.list48px, size:25)
symbol.addAttribute(attributeName: NSAttributedStringKey.foregroundColor, value: UIColor.red)
let iconImage = symbol.image(size: CGSize(width:25, height:25))

or

import MaterialDesignSymbol

let iconImage = MaterialDesignSymbol(icon: .viewHeadline48px, size: 30).image()
UIKit / UILabel
import MaterialDesignSymbol

titleLabel.font = MaterialDesignFont.fontOfSize(20)
titleLabel.text = MaterialDesignIcon.list48px

or

import MaterialDesignSymbol

titleLabel.set(icon: .clear48px, fontSize: 12)

Examples ObjectiveC

Support for Objective C has ended with version 2.3.2. If you want to call from Objective C, please use ver 2.3.2 or earlier.

Image
@import MaterialDesignSymbol;

    
MaterialDesignSymbol *symbol = [[MaterialDesignSymbol alloc] initWithText:[MaterialDesignIcon home48px] size:30];
[symbol addAttributeWithAttributeName:NSForegroundColorAttributeName value:[UIColor blackColor]];
sampleImageView.image = [symbol imageWithSize:CGSizeMake(30, 30)];
Text
@import MaterialDesignSymbol;

sampleLabel.font = [MaterialDesignFont fontOfSize:20];
sampleLabel.text = [MaterialDesignIcon clear48px];

Installation (CocoaPods)

pod MaterialDesignSymbol

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].