-
Notifications
You must be signed in to change notification settings - Fork 78
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
Support for SwiftUI #32
Comments
Not author, but you can use the code in an init() of a view (or app) directly, just make sure, as was pointed in another issue, to make the hotkey reference a class variable. Looks like this in the App :
|
I've used .onAppear and it seems to work well |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you plan to support SwiftUI (or even extend the documentation, how to integrate into SwiftUI)?
The text was updated successfully, but these errors were encountered: