Skip to content

pullrequests Search Results · user:sindresorhus language:swift archived:false is:public language:CSS is:unmerged language:HTML

Filter by

193 results  (275 ms)

193 results

insindresorhus (press backspace or delete to remove)

Adds the following methods for removing only the handlers for specific Names: /** Remove all handlers for one or more names. Includes both key down and key up handlers. */ public static func removeHandlers(for ...

Key Refinements: 1. Consistent Formatting: Used consistent indentation, spacing, and formatting across the code for better readability. 2. Improved Comments: Added comments to clarify what each section ...

- unregisterall() now also removes UserDefaults entries - made unregisterall() public since it can be useful to clean up all shortcuts from an app

Description This PR introduces a constant method to the Default extension, allowing developers to easily create default values that can be used in SwiftUI previews and unit tests. This addition simplifies ...

Polish localization for KeyboardShortcuts.