pullrequests Search Results · user:sindresorhus language:swift archived:false is:public
Filter by
419 results
insindresorhus (press backspace or delete to remove)Added Sendable to public struct.
Description
This PR fixes: #170. Summarize all internal UserDefaults related observation classes into one. Introduce a new class,
Defaults.UserDefaultsAnyKeysObservation, which can observe multiple keys ...
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 modified the translation to fit the strings within the buttons when recording (pressing) a shortcut.
EDIT: First time doing this, let me know, please, if all is OK, if not I will try to fix whatever ...
Added any to each protocols to resolve existential-any build errors on Swift 6.
https://github.com/swiftlang/swift-evolution/blob/main/proposals/0335-existential-any.md
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 ...
force_use_shortcut
This makes is possible to list all the registered shortcuts, should one want to iterate over them,.
Useful if you want to list all configured shortcuts.
I got a project who needs this library on visionOS but this platform wasn t supported on the Package.swift.
I added it, compiled on Vision Pro simulator all is OK.