Skip to content

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

Filter by

431 results  (218 ms)

431 results

insindresorhus (press backspace or delete to remove)

Removed the KeyEquivalent extension from iOS builds so they compile.

I noticed that any view using a @Default property wrapper, was getting their body re-evaluated twice when appearing. This is what the logs look like when showing a simple view that uses @Default when ...

This PR allows option key shortcuts for macOS 15.2 and later.

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

Evaluating globalKeyboardShortcut(_:) revealed several issues related to special keys: - Shortcuts using the Key.space would produce a KeyEquivalent that specified the S key. (cause: first being used ...

The isPressed indicator was not changing for shortcuts created with the DynamicShortcutRecorder. This was caused by registration being done with .onChange(of:_:) - where action is only evaluated with the ...

Internal is somewhat a common and ambiguous name. If a project or another dependency uses the same module name, there might be clashes and other issues. Fixes #6. P.S. Maybe ExceptionCatcherObjC is a ...

- Change Traditional Chinese to Simplified Chinese in zh-Hans. - Remove unneeded space between English words and Chinese characters. - Fix shortcut recorder not allowing other modifiers when option ...