New in KeyboardKit: SwiftUI KeyboardShortcut
s for common actions:
Button("Delete") {
// Delete something
}
.keyboardShortcut(.KeyboardKit.delete)
Now the user can press cmd+delete to trigger the button. Thank you @Iamsebj for the contribution! github.com/douglashill/KeyboardKit#swiftui