Skip to content

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

Filter by

148 results  (235 ms)

148 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 ...

- 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.

SE-0409 , introduced in Swift 6, changes import from implicit public import to internal import. The internal import does not allow imports to be public and will result in build errors, so public has been ...