SwiftyUserDefaults icon indicating copy to clipboard operation
SwiftyUserDefaults copied to clipboard

Is it possible to add support for NSUbiquitousKeyValueStore?

Open mathiasgithub opened this issue 8 years ago • 2 comments

I believe its API is almost the same as NSUserDefaults

mathiasgithub avatar Apr 18 '16 06:04 mathiasgithub

I've just copied 2.2.0 version and changed classes and extensions with NSUbiquitousKeyValueStore, worked well for my application. NSUbiquitousKeyValueStore-Swifty

I hope NSUbiquitousKeyValueStore support will be added to this repository also.

You can use it with "iCloudDefaults" global variable instead of "Defaults" iCloudDefaults[.someKeyDefault]

anilgoktas avatar May 28 '16 12:05 anilgoktas

Just FYI, i use SwiftyUserDefaults with Zephyr https://github.com/ArtSabintsev/Zephyr effortlessly. Highly recommend, you literally have to do nothing besides telling Zephyr what keys you want to watch.

rromanchuk avatar Feb 04 '18 00:02 rromanchuk