{"id":19952279,"url":"https://github.com/sparrowcode/safesfsymbols","last_synced_at":"2025-05-03T19:30:44.525Z","repository":{"id":37212159,"uuid":"448286222","full_name":"sparrowcode/SafeSFSymbols","owner":"sparrowcode","description":"Safe access SFSymbols. If symbol not available, will show warning.","archived":false,"fork":false,"pushed_at":"2025-03-28T04:26:00.000Z","size":1051,"stargazers_count":193,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-04T07:36:37.850Z","etag":null,"topics":["awesome","extension","images","safe","safesymbols","sanfrancisco","sanfranciso-fonts","sf-symbols","sf-symbols-font","sf-symbols-ios","sfsymbols","spm","swiftui","uiimage","uikit"],"latest_commit_sha":null,"homepage":"https://sparrowcode.io/frameworks","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/sparrowcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["sparrowcode"]}},"created_at":"2022-01-15T13:33:08.000Z","updated_at":"2025-03-28T04:26:05.000Z","dependencies_parsed_at":"2024-11-18T06:35:50.852Z","dependency_job_id":null,"html_url":"https://github.com/sparrowcode/SafeSFSymbols","commit_stats":{"total_commits":54,"total_committers":2,"mean_commits":27.0,"dds":0.2777777777777778,"last_synced_commit":"a3770f323f187deeb6655da84b88f98ff0c08ec3"},"previous_names":["sparrowcode/spsafesymbols"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowcode%2FSafeSFSymbols","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowcode%2FSafeSFSymbols/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowcode%2FSafeSFSymbols/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowcode%2FSafeSFSymbols/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sparrowcode","download_url":"https://codeload.github.com/sparrowcode/SafeSFSymbols/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252241923,"owners_count":21717068,"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":["awesome","extension","images","safe","safesymbols","sanfrancisco","sanfranciso-fonts","sf-symbols","sf-symbols-font","sf-symbols-ios","sfsymbols","spm","swiftui","uiimage","uikit"],"created_at":"2024-11-13T01:12:25.585Z","updated_at":"2025-05-03T19:30:44.519Z","avatar_url":"https://github.com/sparrowcode.png","language":"Swift","readme":"# SafeSFSymbols\n\nSafe access SFSymbols. If symbol not available, will show warning.\n\n```swift\n// Replace this\nUIImage(systemName: \"star.fill\") \n// to this\nUIImage(.star.fill)\n```\n\n### iOS Dev Community\n\n\u003cp float=\"left\"\u003e\n    \u003ca href=\"https://twitter.com/i/communities/1730194338489987403\"\u003e\n        \u003cimg src=\"https://cdn.sparrowcode.io/github/badges/x-community.png?version=1\" height=\"52\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## Navigate\n\n- [Installation](#installation)\n    - [Swift Package Manager](#swift-package-manager)\n    - [CocoaPods](#cocoapods)\n    - [Manually](#manually)\n- [Usage](#usage)\n    - [UIKit](#uikit)\n    - [SwiftUI](#swiftui)\n    - [AppKit](#appkit)\n\n## Installation\n\nReady to use on iOS 13+, tvOS 13+ \u0026 watchOS 6+.\n\n### Swift Package Manager\n\nIn Xcode go to Project -\u003e Your Project Name -\u003e `Package Dependencies` -\u003e Tap *Plus*. Insert url:\n\n```\nhttps://github.com/sparrowcode/SafeSFSymbols\n```\n\nor adding it to the `dependencies` of your `Package.swift`:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/sparrowcode/SafeSFSymbols\", .upToNextMajor(from: \"2.0.1\"))\n]\n```\n\n### CocoaPods:\n\nThis is an outdated way. I advise you to use [SPM](#swift-package-manager). However, I will continue to support Cocoapods for some time.\n\n\u003cdetails\u003e\u003csummary\u003eCocoapods Installation\u003c/summary\u003e\n\n[CocoaPods](https://cocoapods.org) is a dependency manager. For usage and installation instructions, visit their website. To integrate using CocoaPods, specify it in your `Podfile`:\n\n```ruby\npod 'SafeSFSymbols'\n```\n\u003c/details\u003e\n\n### Manually\n\nIf you prefer not to use any of dependency managers, you can integrate manually. Put `Sources/SafeSFSymbols` folder to your Xcode project. Make sure to enable `Copy items if needed` and `Create groups`.\n\n## Usage\n\n### UIKit\n\n```swift\nlet image = UIImage(.trash.circle)\n```\n\n### SwiftUI\n\n```swift\nImage(.trash.circle)\n```\n\n### AppKit\n\n```swift\nlet image = NSImage(.trash.circle)\n```\n","funding_links":["https://github.com/sponsors/sparrowcode"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparrowcode%2Fsafesfsymbols","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparrowcode%2Fsafesfsymbols","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparrowcode%2Fsafesfsymbols/lists"}