==(_:_:)
SharedChangeTracker.swift:144This declaration is gated by at least one @_spi attribute.
static func == (lhs: Self, rhs: Self) -> Bool
This declaration is gated by at least one @_spi attribute.
static func == (lhs: Self, rhs: Self) -> Bool
import Sharing
Instantly share state among your app’s features and external persistence layers, including user defaults, the file system, and more.
struct SharedChangeTracker
@frozen struct Bool
A value type whose instances are either true
or false
.
init(reportUnassertedChanges: Bool = isTesting)
var hasChanges: Bool { get }
func assert<R>(_ body: () throws -> R) rethrows -> R
func hash(into hasher: inout Hasher)
func reset()
func track<R>(_ body: () throws -> R) rethrows -> R
func track(_ dependencies: inout DependencyValues)