{"id":20478110,"url":"https://github.com/swiftui-plus/defaultstorage","last_synced_at":"2026-01-24T19:54:31.073Z","repository":{"id":43405742,"uuid":"400837310","full_name":"SwiftUI-Plus/DefaultStorage","owner":"SwiftUI-Plus","description":"A dynamic property wrapper that behaves similarly to AppStorage in iOS 14+, providing auto-updating access to UserDefaults. (iOS, tvOS, watchOS, macOS)","archived":false,"fork":false,"pushed_at":"2022-07-06T21:52:14.000Z","size":13,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T13:15:40.448Z","etag":null,"topics":["ios","macos","propertywrapper","storage","swift","swiftui","tvos","userdefaults","watchos"],"latest_commit_sha":null,"homepage":"https://benkau.com/packages.json","language":"Swift","has_issues":false,"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/SwiftUI-Plus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-28T16:18:17.000Z","updated_at":"2023-09-30T00:43:43.000Z","dependencies_parsed_at":"2022-07-08T05:10:58.546Z","dependency_job_id":null,"html_url":"https://github.com/SwiftUI-Plus/DefaultStorage","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/SwiftUI-Plus/DefaultStorage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftUI-Plus%2FDefaultStorage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftUI-Plus%2FDefaultStorage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftUI-Plus%2FDefaultStorage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftUI-Plus%2FDefaultStorage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SwiftUI-Plus","download_url":"https://codeload.github.com/SwiftUI-Plus/DefaultStorage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftUI-Plus%2FDefaultStorage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28735524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T19:23:36.361Z","status":"ssl_error","status_checked_at":"2026-01-24T19:23:28.966Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ios","macos","propertywrapper","storage","swift","swiftui","tvos","userdefaults","watchos"],"created_at":"2024-11-15T15:35:14.815Z","updated_at":"2026-01-24T19:54:31.053Z","avatar_url":"https://github.com/SwiftUI-Plus.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"![ios](https://img.shields.io/badge/iOS-13-green)\n![tv](https://img.shields.io/badge/tvOS-13-green)\n![watch](https://img.shields.io/badge/watchOS-6-green)\n![mac](https://img.shields.io/badge/macOS-10.15-green)\n\n----\n\n\u003e This backport is now available as `Backport.AppStorage`, in a single Backports library, with a LOT more additions. This should simply my efforts and allow me and others to contribute more backports in the near future.\n\u003e [SwiftUI Backports](https://github.com/shaps80/SwiftUIBackports)\n\n----\n\n# DefaultStorage\n\n\u003e Also available as a part of my [SwiftUI+ Collection](https://benkau.com/packages.json) – just add it to Xcode 13+\n\nA dynamic property wrapper that behaves similarly to AppStorage in iOS 14+, providing auto-updating access to UserDefaults.\n\n## Example\n\n```swift\n@DefaultStorage(\"name\") private var name: String\n```\n\n## Installation\n\nThe code is packaged as a framework. You can install manually (by copying the files in the `Sources` directory) or using Swift Package Manager (**preferred**)\n\nTo install using Swift Package Manager, add this to the `dependencies` section of your `Package.swift` file:\n\n`.package(url: \"https://github.com/SwiftUI-Plus/DefaultStorage.git\", .upToNextMinor(from: \"1.0.0\"))`\n\n## Other Packages\n\nIf you want easy access to this and more packages, add the following collection to your Xcode 13+ configuration:\n\n`https://benkau.com/packages.json`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftui-plus%2Fdefaultstorage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswiftui-plus%2Fdefaultstorage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftui-plus%2Fdefaultstorage/lists"}