2 ms·
Recently have the same experience, I was writing a small SwiftUI app for macOS and wanted to detect the hardware keys and handle it, especially the Delete key.
by lawgimenez 3y ago
Recently have the same experience, I was writing a small SwiftUI app for macOS and wanted to detect the hardware keys and handle it, especially the Delete key. It was hard to find it in Apple’s doc. But I figured it out with some random blog and a lot of print() on my end.