A Swift wrapper for iOS Home Screen Quick Actions (App Icon Shortcuts) with type-safe dynamic shortcut handling.
QuickActions is a Swift wrapper library for iOS Home Screen Quick Actions (App Icon Shortcuts) that provides a type-safe and programmatic way to create and manage dynamic shortcuts. It solves the problem of handling 3D Touch or long-press shortcuts on the home screen with a clean, enum-based API that reduces boilerplate and potential errors.
iOS developers building apps that utilize Home Screen Quick Actions and want a more maintainable, type-safe approach to shortcut management.
Developers choose QuickActions because it replaces Apple's lower-level API with a Swift-native, type-safe wrapper that simplifies shortcut definition, handling, and dynamic updates while ensuring compile-time safety and better code organization.
Swift wrapper for iOS Home Screen Quick Actions (App Icon Shortcuts)
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses Swift enums conforming to ShortcutType, ensuring compile-time safety and reducing runtime errors associated with string-based keys.
Allows adding and updating shortcuts programmatically at runtime, enabling context-aware updates such as in applicationDidEnterBackground.
Integrates with view controllers via the QuickActionSupport protocol for clean separation of concerns and organized shortcut logic.
Supports NSLocalizedString for titles and subtitles, simplifying internationalization without extra boilerplate code.
Requires iOS 12 or later, excluding support for apps targeting older iOS versions, which might be a deal-breaker for legacy projects.
Initial configuration involves multiple steps in AppDelegate and view controllers, making it more verbose than Apple's native API for simple use cases.
Focused solely on iOS Home Screen Quick Actions, with no support for other platforms like macOS or iPadOS, limiting cross-platform utility.