Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Sources/OpenSwiftUICore/Data/DynamicProperty/Namespace.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
// Namespace.swift
// OpenSwiftUICore
//
// Audited for 6.0.87
// Audited for 6.5.4
// Status: Complete
// ID: 79F323039D8AB6E63210271E57AD5E86 (SwiftUICore)

/// A dynamic property type that allows access to a namespace defined
/// by the persistent identity of the object containing the property
/// (e.g. a view).
@available(OpenSwiftUI_v2_0, *)
@frozen
@propertyWrapper
public struct Namespace: DynamicProperty, Sendable {
Expand Down
28 changes: 18 additions & 10 deletions Sources/OpenSwiftUICore/Data/Location/Location.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,30 @@ open class AnyLocation<Value>: AnyLocationBase, @unchecked Sendable {
}

@_spi(ForOpenSwiftUIOnly)
open func get() -> Value { _openSwiftUIBaseClassAbstractMethod() }

@_spi(ForOpenSwiftUIOnly)
open func set(_ value: Value, transaction: Transaction) { _openSwiftUIBaseClassAbstractMethod() }

open func get() -> Value {
_openSwiftUIBaseClassAbstractMethod()
}

@_spi(ForOpenSwiftUIOnly)
open func projecting<P>(_ projection: P) -> AnyLocation<P.Projected> where Value == P.Base, P: Projection {
_openSwiftUIBaseClassAbstractMethod()
}

@_spi(ForOpenSwiftUIOnly)
open func update() -> (Value, Bool) { _openSwiftUIBaseClassAbstractMethod() }

open func set(_ value: Value, transaction: Transaction) {
_openSwiftUIBaseClassAbstractMethod()
}

@_spi(ForOpenSwiftUIOnly)
open func isEqual(to other: AnyLocation<Value>) -> Bool { self === other }

open func update() -> (Value, Bool) {
_openSwiftUIBaseClassAbstractMethod()
}

@_spi(ForOpenSwiftUIOnly)
open func isEqual(to other: AnyLocation<Value>) -> Bool {
self === other
}

package override init() {
super.init()
}
Expand Down
Loading
Loading