{"id":13338736,"url":"https://github.com/SwiftUI-Plus/DefaultStorage","last_synced_at":"2025-03-11T10:31:51.011Z","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-03-10T14:49:31.496Z","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,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243015442,"owners_count":20222082,"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":["ios","macos","propertywrapper","storage","swift","swiftui","tvos","userdefaults","watchos"],"created_at":"2024-07-29T19:17:08.928Z","updated_at":"2025-03-11T10:31:50.679Z","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"}