{"id":21019610,"url":"https://github.com/lacklock/userdefaultsevo","last_synced_at":"2025-05-15T07:33:18.837Z","repository":{"id":243211427,"uuid":"82679141","full_name":"lacklock/UserDefaultsEVO","owner":"lacklock","description":"Using UserDefaults in a swift way","archived":false,"fork":false,"pushed_at":"2017-02-22T12:47:22.000Z","size":8,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-07T11:28:22.210Z","etag":null,"topics":["swift","userdefaults"],"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/lacklock.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":"2017-02-21T12:48:51.000Z","updated_at":"2024-06-07T11:28:27.705Z","dependencies_parsed_at":"2024-06-07T11:38:36.143Z","dependency_job_id":null,"html_url":"https://github.com/lacklock/UserDefaultsEVO","commit_stats":null,"previous_names":["lacklock/userdefaultsevo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lacklock%2FUserDefaultsEVO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lacklock%2FUserDefaultsEVO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lacklock%2FUserDefaultsEVO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lacklock%2FUserDefaultsEVO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lacklock","download_url":"https://codeload.github.com/lacklock/UserDefaultsEVO/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225335445,"owners_count":17458281,"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":["swift","userdefaults"],"created_at":"2024-11-19T10:33:10.123Z","updated_at":"2024-11-19T10:33:10.587Z","avatar_url":"https://github.com/lacklock.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UserDefaultsEVO\nUsing UserDefaults in a swift way\n# Usage\ndefine a Enum which rawValue is String, comform to `UserDefaultSettable`\n\n```swift\nextension UserDefaults {\n    enum TestData: String,UserDefaultSettable {\n        case name\n    }\n}\n```\nstore value:\n```swift\nUserDefaults.TestData.name.store(value: \"name\")\n```\nget value form UserDefaults:\n```swift\n let storeValue = UserDefaults.TestData.name.storedString\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flacklock%2Fuserdefaultsevo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flacklock%2Fuserdefaultsevo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flacklock%2Fuserdefaultsevo/lists"}