{"id":17163221,"url":"https://github.com/noppefoxwolf/nfappstorage","last_synced_at":"2025-07-18T01:35:52.134Z","repository":{"id":72999530,"uuid":"275509030","full_name":"noppefoxwolf/NFAppStorage","owner":"noppefoxwolf","description":null,"archived":false,"fork":false,"pushed_at":"2020-06-28T10:41:27.000Z","size":60,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-02T05:46:07.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/noppefoxwolf.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}},"created_at":"2020-06-28T04:50:14.000Z","updated_at":"2022-05-19T03:21:13.000Z","dependencies_parsed_at":"2023-02-26T19:31:18.497Z","dependency_job_id":null,"html_url":"https://github.com/noppefoxwolf/NFAppStorage","commit_stats":{"total_commits":19,"total_committers":1,"mean_commits":19.0,"dds":0.0,"last_synced_commit":"a6d34f7478b6449cf9507ee276de315c64ef114f"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FNFAppStorage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FNFAppStorage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FNFAppStorage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FNFAppStorage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noppefoxwolf","download_url":"https://codeload.github.com/noppefoxwolf/NFAppStorage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248731593,"owners_count":21152835,"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":[],"created_at":"2024-10-14T22:48:15.927Z","updated_at":"2025-04-13T14:42:14.512Z","avatar_url":"https://github.com/noppefoxwolf.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NFAppStorage\n\nBackport of @AppStorage to earlier iOS 13.\n[AppStorage](https://developer.apple.com/documentation/swiftui/appstorage) is UserDefaults binder available in iOS14.\n\n# Usage\n\n```swift\nstruct ContentView: View {\n    @AppStorage(\"username\") var username: String = \"Anonymous\"\n\n    var body: some View {\n        VStack {\n            Text(\"Welcome, \\(username)!\")\n\n            Button(\"Log in\") {\n                self.username = \"@twostraws\"\n            }\n        }\n    }\n}\n```\n\n# Requirements\n- Swift 5.0+\n- iOS 13.0+\n\n# Installation\n\n## Xcode SwiftPM\n\nAdd the following to your Xcode:\n\n![](https://github.com/noppefoxwolf/NFAppStorage/blob/master/.github/xcode.png)\n\n# Author\n\n[noppefoxwolf](https://twitter.com/noppefoxwolf)\n\n# License\n\nThe project is available under [MIT Licence](https://github.com/noppefoxwolf/NFAppStorage/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoppefoxwolf%2Fnfappstorage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoppefoxwolf%2Fnfappstorage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoppefoxwolf%2Fnfappstorage/lists"}