Swiftpack.co - Package - elegantchaos/KeyValueStore

Test results Latest release swift 5.3 shield swift dev shield Platforms: macOS, iOS

KeyValueStore

The UserDefaults and NSUbiquitousKeyValueStore classes are pretty much interchangeable, but have slightly different APIs.

This package defines a KeyValueStore protocol which abstracts these differences.

In the future, other classes/structs (eg Dictionary) could also be made to conform to this protocol. Pull-requests gratefully accepted...

Github

link
Stars: 0

Dependencies

Used By

Total: 0

Releases

1.0 - 2020-10-05 10:22:58

First release.