SwiftyUserDefaults icon indicating copy to clipboard operation
SwiftyUserDefaults copied to clipboard

Consider support for namespaces (nested keys)

Open ky1vstar opened this issue 4 years ago • 2 comments
trafficstars

I had an idea of implementing namespace feature to separate preferences for different applications modules. I've created extension library here, but what do you think about migrating this feature to the main library.

ky1vstar avatar Feb 12 '21 18:02 ky1vstar

hey @ky1vstar, this might be really interesting! if there is a way to add that without a breaking change (meaning current users wouldn't need to do much to migrate to a new version) I'd be happy to review it. Thanks for the thought!

sunshinejr avatar Feb 12 '21 21:02 sunshinejr

@sunshinejr can you review code here https://github.com/ky1vstar/SwiftyUserDefaultsNamespaces and decide wether it can be added to your library? Im afraid I don't have enough time to make PR myself.

ky1vstar avatar Feb 14 '21 00:02 ky1vstar