A Swift library for recording and displaying keyboard shortcuts in macOS applications.
KeyHolder is a Swift library for macOS that provides a UI component to record and display keyboard shortcuts within applications. It solves the problem of implementing a consistent, user-friendly shortcut recording interface, similar to popular apps like Alfred, by offering a ready-to-use view and handling key combo logic.
macOS developers building applications that require customizable keyboard shortcuts, such as productivity tools, launchers, or utilities where keyboard-driven interaction is key.
Developers choose KeyHolder because it simplifies shortcut recording implementation with a polished, native component, reduces boilerplate code, and integrates seamlessly with dependency managers like CocoaPods, Carthage, and Swift Package Manager.
Record shortcuts in macOS, like Alfred.app.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
The RecordView component follows macOS design patterns, providing a familiar and professional interface for shortcut recording without extra styling effort.
Offers both delegate methods and closure-based callbacks, allowing developers to choose the integration approach that best fits their app's architecture.
Built on the Magnet and Sauce libraries, ensuring reliable keycode translation and hotkey registration, which handles edge cases like modifier keys.
Available via CocoaPods, Carthage, and Swift Package Manager, simplifying integration into modern Swift projects with minimal setup.
Relies on Magnet and Sauce, adding complexity to project setup and potentially increasing binary size or introducing compatibility issues.
Only supports tint color customization; for advanced UI modifications, developers must extend or modify the RecordView component themselves.
Tied to macOS and Cocoa, making it unsuitable for cross-platform applications or those using newer frameworks like SwiftUI without additional bridging code.
KeyHolder is an open-source alternative to the following products: