Relative Content

Tag Archive for macosswiftuicocoa

How to query localized key equivalents in a macOS Cocoa app

Since Catalina, macOS has provided for automatic localization of key equivalents as described here: https://developer.apple.com/documentation/swiftui/keyequivalent. If you set the keyboard shortcut to cmd-{, then it will become cmd-shift-ö on a German AZERTZ layout.