{"id":18247916,"url":"https://github.com/tichise/materialdesignsymbol","last_synced_at":"2025-04-04T15:31:51.660Z","repository":{"id":31756808,"uuid":"35322981","full_name":"tichise/MaterialDesignSymbol","owner":"tichise","description":"Icon font library for Swift. Currently supports GoogleMaterialDesignIcons","archived":false,"fork":false,"pushed_at":"2023-02-01T13:33:50.000Z","size":409,"stargazers_count":95,"open_issues_count":1,"forks_count":10,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-10-29T10:47:06.093Z","etag":null,"topics":["cocoapods","font","font-library","material-design","objectivec","swift","swiftui"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tichise.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-09T09:31:26.000Z","updated_at":"2024-05-30T07:25:57.000Z","dependencies_parsed_at":"2023-02-17T23:31:32.618Z","dependency_job_id":null,"html_url":"https://github.com/tichise/MaterialDesignSymbol","commit_stats":null,"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tichise%2FMaterialDesignSymbol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tichise%2FMaterialDesignSymbol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tichise%2FMaterialDesignSymbol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tichise%2FMaterialDesignSymbol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tichise","download_url":"https://codeload.github.com/tichise/MaterialDesignSymbol/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247202928,"owners_count":20900870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cocoapods","font","font-library","material-design","objectivec","swift","swiftui"],"created_at":"2024-11-05T09:34:39.254Z","updated_at":"2025-04-04T15:31:46.648Z","avatar_url":"https://github.com/tichise.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### MaterialDesignSymbol\n\nIcon font library for Swift. Currently supports GoogleMaterialDesignIcons. ObjectiveC version is [here](https://github.com/tichise/MaterialDesignSymbolObjC).\n\n#### Image\n\n![image](https://user-images.githubusercontent.com/43707/89850548-8edb5300-dbc5-11ea-8cab-2b3be7faf06f.png)\n\n#### Licence\nfont used in this project\n\nAuthor of the font used in this  project: Google\nLink: https://github.com/google/material-design-icons\n\nCreative Commons Attribution 4.0 International (CC BY 4.0)\n\n#### Examples Swift\n\n##### UIKit / UIImage\n\n```html\nimport MaterialDesignSymbol\n\nlet symbol = MaterialDesignSymbol(text:MaterialDesignIcon.list48px, size:25)\nsymbol.addAttribute(attributeName: NSAttributedStringKey.foregroundColor, value: UIColor.red)\nlet iconImage = symbol.image(size: CGSize(width:25, height:25))\n```\n\nor \n\n```\nimport MaterialDesignSymbol\n\nlet iconImage = MaterialDesignSymbol(icon: .viewHeadline48px, size: 30).image()\n```\n\n##### UIKit / UILabel\n\n```html\nimport MaterialDesignSymbol\n\ntitleLabel.font = MaterialDesignFont.fontOfSize(20)\ntitleLabel.text = MaterialDesignIcon.list48px\n```\n\n#### Examples ObjectiveC\n\nSupport for Objective C has ended with version 2.3.2.\nIf you want to call from Objective C, please use ver 2.3.2 or earlier.\n\n##### Image\n```html\n@import MaterialDesignSymbol;\n\n    \nMaterialDesignSymbol *symbol = [[MaterialDesignSymbol alloc] initWithText:[MaterialDesignIcon home48px] size:30];\n[symbol addAttributeWithAttributeName:NSForegroundColorAttributeName value:[UIColor blackColor]];\nsampleImageView.image = [symbol imageWithSize:CGSizeMake(30, 30)];\n```\n\n##### Text\n\n```html\n@import MaterialDesignSymbol;\n\nsampleLabel.font = [MaterialDesignFont fontOfSize:20];\nsampleLabel.text = [MaterialDesignIcon clear48px];\n```\n\n\n#### Installation (CocoaPods)\n`pod MaterialDesignSymbol`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftichise%2Fmaterialdesignsymbol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftichise%2Fmaterialdesignsymbol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftichise%2Fmaterialdesignsymbol/lists"}