Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PoC for custom storage #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

PoC for custom storage #1

wants to merge 5 commits into from

Conversation

fredlb
Copy link
Owner

@fredlb fredlb commented Jul 25, 2023

This adds a protocol StorageProvider that allows one to implement their own storage of shortcuts instead of UserDefaults.

This adds a protocol StorageProvider that allows one to implement their own storage of shortcuts
instead of UserDefaults.
This will require us to initialize it through KeyboardShortcuts.storage = ... before recording shortcuts etc through KeyboardShortcuts.Name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant