Related to https://github.com/sindresorhus/KeyboardShortcuts/issues/18, I've tried to implement a protocol to allow for custom storage implementations. It still defaults to using UserDefaults unless anything else has been specified before running KeyboardShortcuts.initialize().
You can consider this WIP, since it would probably be nice to add more tests etc, and documentation with examples how to use it.
Related to https://github.com/sindresorhus/KeyboardShortcuts/issues/18, I've tried to implement a protocol to allow for custom storage implementations. It still defaults to using UserDefaults unless anything else has been specified before running
KeyboardShortcuts.initialize()
.You can consider this WIP, since it would probably be nice to add more tests etc, and documentation with examples how to use it.