Skip to content

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

Filter by

575 results  (292 ms)

575 results

insindresorhus (press backspace or delete to remove)

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

Hi there! Thought I d pitch in and contribute to this great package. This fixes #142 by creating a new macro that can be used inside @Observable classes. The macro is implemented in a new DefaultsMacros ...

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

Despite big number update this is just a small bump that controls dithering level better.

Fixes #267

Description This PR fixes #172. By default, Defaults will create a sync task that automatically detects the data source using timestamps. However, this might cause an issue if the device is newly installed, ...

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