{"id":21567286,"url":"https://github.com/nssina/nsasynccachedimage","last_synced_at":"2025-10-31T10:10:09.272Z","repository":{"id":63919464,"uuid":"560573349","full_name":"nssina/NSAsyncCachedImage","owner":"nssina","description":"Lightweight way to load and cache images asynchronously in SwiftUI views","archived":false,"fork":false,"pushed_at":"2023-05-01T16:27:07.000Z","size":34,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-14T16:45:03.427Z","etag":null,"topics":["cache","image","image-processor","ios","macos","swift","swiftpm","swiftui","tvos","watchos","xcode"],"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/nssina.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2022-11-01T19:45:54.000Z","updated_at":"2023-06-02T12:43:55.000Z","dependencies_parsed_at":"2024-11-24T10:40:41.417Z","dependency_job_id":null,"html_url":"https://github.com/nssina/NSAsyncCachedImage","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"3e603c728b82038ea7238fdf449ed3038f7c1f99"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nssina%2FNSAsyncCachedImage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nssina%2FNSAsyncCachedImage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nssina%2FNSAsyncCachedImage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nssina%2FNSAsyncCachedImage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nssina","download_url":"https://codeload.github.com/nssina/NSAsyncCachedImage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248225659,"owners_count":21068078,"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":["cache","image","image-processor","ios","macos","swift","swiftpm","swiftui","tvos","watchos","xcode"],"created_at":"2024-11-24T10:29:45.853Z","updated_at":"2025-10-31T10:10:09.207Z","avatar_url":"https://github.com/nssina.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NSAsyncCachedImage\n\n[![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-success.svg)](https://github.com/apple/swift-package-manager)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fnssina%2FNSAsyncCachedImage%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/nssina/NSAsyncCachedImage)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fnssina%2FNSAsyncCachedImage%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/nssina/NSAsyncCachedImage)\n\nNSAsyncCachedImage is a lightweight package which provides the main thing that is missing from Apple [AsyncImage](https://developer.apple.com/documentation/swiftui/asyncimage) API, Caching!. This package will let you download and cache images asynchronously in SwiftUI views.\n\n## Supported Platforms\n\nNSAsyncCachedImage supports `iOS 13`, `macOS 10.15`, `tvOS 13` and `watchOS 6`.  \n\n## Installation\n\nNSAsyncCachedImage can be installed with the [Swift Package Manager](https://www.swift.org/package-manager/):\n\n```\nhttps://github.com/nssina/NSAsyncCachedImage.git\n```\n\n## Usage\n\n```swift\nimport SwiftUI\nimport NSAsyncCachedImage\n\nstruct ContentView: View {\n    var body: some View {\n        VStack {\n            NSAsyncCachedImage(\"https://example.com/icon.png\") { image in\n                image\n                    .resizable()\n            } placeHolder: {\n                ProgressView()\n            }\n            .frame(width: 200, height: 200)\n            .cornerRadius(12)\n        }\n        .padding()\n    }\n}\n```\n\n## License\n\nThe project is available under [MIT Licence](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnssina%2Fnsasynccachedimage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnssina%2Fnsasynccachedimage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnssina%2Fnsasynccachedimage/lists"}