Skip to content

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

Filter by

489 results  (234 ms)

489 results

insindresorhus (press backspace or delete to remove)

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

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.

Added Sendable to public struct.