pullrequests Search Results · user:sindresorhus language:swift archived:false is:public language:Swift is:unmerged
Filter by
100 results
insindresorhus (press backspace or delete to remove) - 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 ...
In SE-0401 , which will take effect in Swift 6, types with @StateObject will no longer be MainActor.
@StateObject must be referenced from MainActor or a build error will occur, so @MainActor is added. ...
I added a swift 6.0 version of the package.swift Made all percentage initializers go into the same one allowing faction
to be a let property.
This adds support for SwiftUI menu items (they now auto update when shortcuts are changed).
Also; it won t throw up a UI when modifying the existing shortcut. The implementation ... isn t great (it relies ...
I v added a string catalog (Localizable.xcstrings) and a german translation for the auto generated strings. This is not
covering all user facing strings (e.g. the dialog for Animated GIF Preview Limitation ...
This makes is possible to list all the registered shortcuts, should one want to iterate over them,.