douglashill / KeyboardKit

The easiest way to add comprehensive hardware keyboard control to an iPad, iPhone, or Mac Catalyst app.
MIT License
444 stars 11 forks source link

SwiftUI Modifier support #17

Open joehinkle11 opened 3 years ago

joehinkle11 commented 3 years ago

I know this is out there, but it would be really neat if it were possible to accomplish this with a SwiftUI modifier

douglashill commented 3 years ago

I think what you’re asking for is to allow keyboard control when an app uses SwiftUI as easily as KeyboardKit gives you when using UIKit. There would be two main parts needed for this:

Since it’s mostly just me working on KeyboardKit at the moment I have to pick where I spend my time. Realistically I don’t see myself reimplementing functionality in SwiftUI any time soon, but I’m very open to contributions in this area.