From 3bc35b78275806e7b77b4293525560998b128c0d Mon Sep 17 00:00:00 2001 From: Kyle Date: Sun, 29 Jun 2025 23:37:57 +0800 Subject: [PATCH] Update Logging API --- .../AccessibilityConfigurationModifier.swift | 2 +- .../OpenSwiftUI/Core/Render/DisplayLink.swift | 4 +- .../Focus/FocusStoreLocation.swift | 6 +-- .../EventHandling/Focus/FocusedValueKey.swift | 2 +- .../Hosting/UIKit/View/UIHostingView.swift | 4 +- .../AppKit/NSViewPlatformViewDefinition.swift | 2 +- .../UIKit/UIViewPlatformViewDefinition.swift | 2 +- .../Platform/PlatformViewRepresentable.swift | 2 +- .../UIKit/UIViewControllerRepresentable.swift | 2 +- Sources/OpenSwiftUI/Layout/ViewThatFits.swift | 2 +- Sources/OpenSwiftUI/Scene/WindowGroup.swift | 2 +- Sources/OpenSwiftUI/Test/TestApp+Test.swift | 2 +- Sources/OpenSwiftUI/Test/TestApp.swift | 2 +- .../OpenSwiftUI/Util/OpenSwiftUIGlue.swift | 2 +- .../ButtonStyle/TODO/PlainButtonStyle.swift | 4 +- .../View/Control/Slider/AnySliderStyle.swift | 2 +- .../OpenSwiftUI/View/Image/AsyncImage.swift | 4 +- .../DynamicPropertyBuffer.swift | 2 +- .../UnsafeHeterogeneousBuffer.swift | 4 +- .../Data/Environment/CachedEnvironment.swift | 2 +- .../Environment/EnvironmentAdditions.swift | 8 +-- Sources/OpenSwiftUICore/Data/Location.swift | 12 ++--- .../Data/Preference/PreferenceList.swift | 10 ++-- .../OpenSwiftUICore/Data/PropertyList.swift | 8 +-- .../Data/State/StoredLocation.swift | 6 +-- .../Event/Event/EventBindingBridge.swift | 6 +-- .../Event/Event/EventBindingManager.swift | 20 +++---- .../Event/Gesture/AnyGesture.swift | 6 +-- .../Event/Gesture/GestureDebug.swift | 12 ++--- .../Event/Gesture/GestureGraph.swift | 6 +-- .../Event/Gesture/GestureViewModifier.swift | 8 +-- .../Event/Gesture/LayoutGesture.swift | 16 +++--- .../Event/Gesture/MapGesture.swift | 8 +-- .../Event/Gesture/RepeatGesture.swift | 4 +- .../Responder/HitTestBindingModifier.swift | 10 ++-- .../Event/Responder/MultiViewResponder.swift | 2 +- .../Event/Responder/ResponderNode.swift | 4 +- .../Event/Responder/ViewResponder.swift | 4 +- Sources/OpenSwiftUICore/Graph/GraphHost.swift | 8 +-- .../OpenSwiftUICore/Graphic/Color/Color.swift | 14 ++--- .../Graphic/Color/ColorMatrix.swift | 4 +- .../Graphic/Color/ColorView.swift | 4 +- .../Graphic/Color/ConstantColor.swift | 4 +- .../Graphic/Color/NamedColor.swift | 2 +- .../OpenSwiftUICore/Graphic/Color/Paint.swift | 4 +- .../Graphic/Gradient/GradientColorSpace.swift | 4 +- .../Graphic/Gradient/ResolvedGradient.swift | 2 +- .../Graphic/GraphicsContext.swift | 2 +- .../OpenSwiftUICore/Layout/AnyLayout.swift | 22 ++++---- .../Layout/Geometry/Anchor.swift | 2 +- Sources/OpenSwiftUICore/Layout/Layout.swift | 6 +-- .../LayoutComputer/LayoutComputer.swift | 20 +++---- .../LayoutComputer/UnaryLayoutComputer.swift | 2 +- .../Layout/SafeAreaInsets.swift | 4 +- .../Layout/Stack/HVStack.swift | 14 ++--- .../OpenSwiftUICore/Layout/UnaryLayout.swift | 2 +- .../Layout/View/ViewTransform.swift | 16 +++--- Sources/OpenSwiftUICore/Log/Logging.swift | 16 +++--- .../OpenGraph/OpenGraphAdditions.swift | 24 ++++----- .../DisplayList.GraphicsRenderer.swift | 14 ++--- .../Render/DisplayList/DisplayList.swift | 10 ++-- .../DisplayList/DisplayListViewRenderer.swift | 10 ++-- .../DisplayList/DisplayListViewUpdater.swift | 4 +- .../DisplayList_StableIdentity.swift | 8 +-- .../Render/PlatformViewDefinition.swift | 20 +++---- .../Render/RendererLeafView.swift | 2 +- .../Shape/InsettableShape.swift | 10 ++-- Sources/OpenSwiftUICore/Shape/Path.swift | 44 ++++++++-------- .../OpenSwiftUICore/Shape/RoundedCorner.swift | 4 +- Sources/OpenSwiftUICore/Shape/Shape.swift | 2 +- .../Shape/ShapeStyle/BlendMode.swift | 2 +- .../ShapeStyle/ForegroundStyleModifier.swift | 6 +-- .../Shape/ShapeStyle/Material.swift | 2 +- .../Shape/ShapeStyle/ShapeStyle.swift | 4 +- .../Shape/ShapeStyle/ShapeStylePack.swift | 28 +++++----- .../Shape/ShapeStyle/ShapeStyleResolver.swift | 6 +-- .../ShapeStyle/ShapeStyledLeadView.swift | 14 ++--- Sources/OpenSwiftUICore/Shape/ShapeView.swift | 2 +- Sources/OpenSwiftUICore/Shape/Shapes.swift | 2 +- .../OpenSwiftUICore/Tracing/LayoutTrace.swift | 6 +-- Sources/OpenSwiftUICore/Util/CoreGlue.swift | 52 +++++++++---------- .../Util/Data/AnyHashable2.swift | 2 +- .../Util/StandardLibraryAdditions.swift | 2 +- .../Animation/AnyAnimatableData.swift | 2 +- .../Animation/TODO/AnimatableModifier.swift | 4 +- .../Animation/TODO/_AnimatableView.swift | 4 +- Sources/OpenSwiftUICore/View/AnyView.swift | 10 ++-- Sources/OpenSwiftUICore/View/ForEach.swift | 4 +- .../View/Graph/ViewGraph.swift | 20 +++---- .../View/Graph/ViewRendererHost.swift | 20 +++---- Sources/OpenSwiftUICore/View/IDView.swift | 4 +- .../OpenSwiftUICore/View/Image/Image.swift | 4 +- .../OpenSwiftUICore/View/Input/ViewList.swift | 30 +++++------ .../InterfaceIdiomPredicate.swift | 2 +- .../View/Style/StyleContext.swift | 4 +- .../View/VariadicView_Children.swift | 26 +++++----- Sources/OpenSwiftUICore/View/ViewDebug.swift | 2 +- .../Data/Protobuf/ProtobufTestHelper.swift | 2 +- 98 files changed, 387 insertions(+), 387 deletions(-) diff --git a/Sources/OpenSwiftUI/Accessibility/Modifier/internal/AccessibilityConfigurationModifier.swift b/Sources/OpenSwiftUI/Accessibility/Modifier/internal/AccessibilityConfigurationModifier.swift index b6de3ceed..4c40f6600 100644 --- a/Sources/OpenSwiftUI/Accessibility/Modifier/internal/AccessibilityConfigurationModifier.swift +++ b/Sources/OpenSwiftUI/Accessibility/Modifier/internal/AccessibilityConfigurationModifier.swift @@ -15,5 +15,5 @@ protocol AccessibilityConfigurationModifier { } extension AccessibilityConfigurationModifier where Configuration == Never { - var configuration: Configuration { openSwiftUIBaseClassAbstractMethod() } + var configuration: Configuration { _openSwiftUIBaseClassAbstractMethod() } } diff --git a/Sources/OpenSwiftUI/Core/Render/DisplayLink.swift b/Sources/OpenSwiftUI/Core/Render/DisplayLink.swift index b960e7bd6..58ad9d136 100644 --- a/Sources/OpenSwiftUI/Core/Render/DisplayLink.swift +++ b/Sources/OpenSwiftUI/Core/Render/DisplayLink.swift @@ -28,11 +28,11 @@ final class DisplayLink: NSObject { #if os(iOS) init(host: AnyUIHostingView, window: UIWindow) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } #elseif os(macOS) init(host: AnyUIHostingView, window: NSWindow) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } #endif diff --git a/Sources/OpenSwiftUI/EventHandling/Focus/FocusStoreLocation.swift b/Sources/OpenSwiftUI/EventHandling/Focus/FocusStoreLocation.swift index f9a7526c2..fafae7338 100644 --- a/Sources/OpenSwiftUI/EventHandling/Focus/FocusStoreLocation.swift +++ b/Sources/OpenSwiftUI/EventHandling/Focus/FocusStoreLocation.swift @@ -11,16 +11,16 @@ class FocusStoreLocation: AnyLocation, @unchecked Sendable { } override func get() -> A { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } override func set(_ value: A, transaction: Transaction) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } typealias Value = A - override init() { openSwiftUIBaseClassAbstractMethod() } + override init() { _openSwiftUIBaseClassAbstractMethod() } var store: FocusStore weak var host: GraphHost? diff --git a/Sources/OpenSwiftUI/EventHandling/Focus/FocusedValueKey.swift b/Sources/OpenSwiftUI/EventHandling/Focus/FocusedValueKey.swift index 924a8d194..aa68f4efb 100644 --- a/Sources/OpenSwiftUI/EventHandling/Focus/FocusedValueKey.swift +++ b/Sources/OpenSwiftUI/EventHandling/Focus/FocusedValueKey.swift @@ -34,7 +34,7 @@ public struct FocusedValues { /// Reads and writes values associated with a given focused value key. public subscript(key: Key.Type) -> Key.Value? where Key: FocusedValueKey { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUI/Integration/Hosting/UIKit/View/UIHostingView.swift b/Sources/OpenSwiftUI/Integration/Hosting/UIKit/View/UIHostingView.swift index d8afc4e2e..750af3b8d 100644 --- a/Sources/OpenSwiftUI/Integration/Hosting/UIKit/View/UIHostingView.swift +++ b/Sources/OpenSwiftUI/Integration/Hosting/UIKit/View/UIHostingView.swift @@ -584,7 +584,7 @@ extension _UIHostingView: ViewRendererHost { } package func updateScrollableContainerSize() { - // openSwiftUIUnimplementedFailure() + // _openSwiftUIUnimplementedFailure() } var shouldDisableUIKitAnimations: Bool { @@ -684,7 +684,7 @@ extension _UIHostingView: ViewRendererHost { } package func rootTransform() -> ViewTransform { - openSwiftUIUnimplementedWarning() + _openSwiftUIUnimplementedWarning() return ViewTransform() } diff --git a/Sources/OpenSwiftUI/Integration/Render/AppKit/NSViewPlatformViewDefinition.swift b/Sources/OpenSwiftUI/Integration/Render/AppKit/NSViewPlatformViewDefinition.swift index de8797195..44aa1a8c4 100644 --- a/Sources/OpenSwiftUI/Integration/Render/AppKit/NSViewPlatformViewDefinition.swift +++ b/Sources/OpenSwiftUI/Integration/Render/AppKit/NSViewPlatformViewDefinition.swift @@ -57,7 +57,7 @@ final class NSViewPlatformViewDefinition: PlatformViewDefinition, @unchecked Sen } override static func makeLayerView(type: CALayer.Type, kind: PlatformViewDefinition.ViewKind) -> AnyObject { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } #endif diff --git a/Sources/OpenSwiftUI/Integration/Render/UIKit/UIViewPlatformViewDefinition.swift b/Sources/OpenSwiftUI/Integration/Render/UIKit/UIViewPlatformViewDefinition.swift index e8f52192e..f58f82cf2 100644 --- a/Sources/OpenSwiftUI/Integration/Render/UIKit/UIViewPlatformViewDefinition.swift +++ b/Sources/OpenSwiftUI/Integration/Render/UIKit/UIViewPlatformViewDefinition.swift @@ -30,7 +30,7 @@ final class UIViewPlatformViewDefinition: PlatformViewDefinition, @unchecked Sen } override static func makeLayerView(type: CALayer.Type, kind: PlatformViewDefinition.ViewKind) -> AnyObject { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } private static func initView(_ view: UIView, kind: PlatformViewDefinition.ViewKind) { diff --git a/Sources/OpenSwiftUI/Integration/Representable/Platform/PlatformViewRepresentable.swift b/Sources/OpenSwiftUI/Integration/Representable/Platform/PlatformViewRepresentable.swift index 4b44b92d3..89c65ee9a 100644 --- a/Sources/OpenSwiftUI/Integration/Representable/Platform/PlatformViewRepresentable.swift +++ b/Sources/OpenSwiftUI/Integration/Representable/Platform/PlatformViewRepresentable.swift @@ -73,7 +73,7 @@ extension PlatformViewRepresentable { nonisolated static func _makeView(view: _GraphValue, inputs: _ViewInputs) -> _ViewOutputs { // TODO - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } var body: Never { diff --git a/Sources/OpenSwiftUI/Integration/Representable/UIKit/UIViewControllerRepresentable.swift b/Sources/OpenSwiftUI/Integration/Representable/UIKit/UIViewControllerRepresentable.swift index 48a218108..011495c6d 100644 --- a/Sources/OpenSwiftUI/Integration/Representable/UIKit/UIViewControllerRepresentable.swift +++ b/Sources/OpenSwiftUI/Integration/Representable/UIKit/UIViewControllerRepresentable.swift @@ -176,7 +176,7 @@ extension UIViewControllerRepresentable { public static func dismantleUIViewController(_ uiViewController: UIViewControllerType, coordinator: Coordinator) {} nonisolated public static func _makeView(view: _GraphValue, inputs: _ViewInputs) -> _ViewOutputs { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } nonisolated public static func _makeViewList(view: _GraphValue, inputs: _ViewListInputs) -> _ViewListOutputs { diff --git a/Sources/OpenSwiftUI/Layout/ViewThatFits.swift b/Sources/OpenSwiftUI/Layout/ViewThatFits.swift index 25528b9f4..9fe422a82 100644 --- a/Sources/OpenSwiftUI/Layout/ViewThatFits.swift +++ b/Sources/OpenSwiftUI/Layout/ViewThatFits.swift @@ -107,7 +107,7 @@ public struct _SizeFittingRoot: _VariadicView.UnaryViewRoot { init(axes: Axis.Set) { self.axes = axes } nonisolated public static func _makeView(root: _GraphValue, inputs: _ViewInputs, body: (_Graph, _ViewInputs) -> _ViewListOutputs) -> _ViewOutputs { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } public typealias Body = Never diff --git a/Sources/OpenSwiftUI/Scene/WindowGroup.swift b/Sources/OpenSwiftUI/Scene/WindowGroup.swift index 3d735fd5f..960db5115 100644 --- a/Sources/OpenSwiftUI/Scene/WindowGroup.swift +++ b/Sources/OpenSwiftUI/Scene/WindowGroup.swift @@ -47,7 +47,7 @@ public struct WindowGroup: Scene where Content: View { // FIXME public var body: some Scene { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } var title: Text? diff --git a/Sources/OpenSwiftUI/Test/TestApp+Test.swift b/Sources/OpenSwiftUI/Test/TestApp+Test.swift index be87a51f4..fb616e8c7 100644 --- a/Sources/OpenSwiftUI/Test/TestApp+Test.swift +++ b/Sources/OpenSwiftUI/Test/TestApp+Test.swift @@ -45,7 +45,7 @@ extension _TestApp { exit(0) } #else - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() #endif } } diff --git a/Sources/OpenSwiftUI/Test/TestApp.swift b/Sources/OpenSwiftUI/Test/TestApp.swift index e1f943346..ffed870b2 100644 --- a/Sources/OpenSwiftUI/Test/TestApp.swift +++ b/Sources/OpenSwiftUI/Test/TestApp.swift @@ -24,6 +24,6 @@ extension _TestApp { #endif Color.Resolved.legacyInterpolation = true let rootView = RootView() - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUI/Util/OpenSwiftUIGlue.swift b/Sources/OpenSwiftUI/Util/OpenSwiftUIGlue.swift index c738b46cd..c3fa2ccaa 100644 --- a/Sources/OpenSwiftUI/Util/OpenSwiftUIGlue.swift +++ b/Sources/OpenSwiftUI/Util/OpenSwiftUIGlue.swift @@ -135,7 +135,7 @@ final public class OpenSwiftUIGlue2: CoreGlue2 { } override public final func linkURL(_ parameters: LinkURLParameters) -> URL? { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUI/View/Control/Button/ButtonStyle/TODO/PlainButtonStyle.swift b/Sources/OpenSwiftUI/View/Control/Button/ButtonStyle/TODO/PlainButtonStyle.swift index bfaacc67f..35ec5f326 100644 --- a/Sources/OpenSwiftUI/View/Control/Button/ButtonStyle/TODO/PlainButtonStyle.swift +++ b/Sources/OpenSwiftUI/View/Control/Button/ButtonStyle/TODO/PlainButtonStyle.swift @@ -12,7 +12,7 @@ public struct PlainButtonStyle: PrimitiveButtonStyle { public func makeBody(configuration: Configuration) -> some View { // Button(configuration) // .buttonStyle(buttonStyleRepresentation) - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } } @@ -35,6 +35,6 @@ private struct PlainButtonStyleBase: ButtonStyle { // configuration.label // } // .opacity(isEnabled ? (configuration.isPressed ? 0.75 : 1.0) : 0.5) - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } } diff --git a/Sources/OpenSwiftUI/View/Control/Slider/AnySliderStyle.swift b/Sources/OpenSwiftUI/View/Control/Slider/AnySliderStyle.swift index 4292b995c..33e2b8529 100644 --- a/Sources/OpenSwiftUI/View/Control/Slider/AnySliderStyle.swift +++ b/Sources/OpenSwiftUI/View/Control/Slider/AnySliderStyle.swift @@ -13,7 +13,7 @@ protocol SliderStyle { private class AnyStyleBox { func body(configuration _: Slider) -> AnyView { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } } diff --git a/Sources/OpenSwiftUI/View/Image/AsyncImage.swift b/Sources/OpenSwiftUI/View/Image/AsyncImage.swift index 5a06a7a25..f39275f92 100644 --- a/Sources/OpenSwiftUI/View/Image/AsyncImage.swift +++ b/Sources/OpenSwiftUI/View/Image/AsyncImage.swift @@ -495,7 +495,7 @@ private func downloadURL(_ url: URL) async throws -> TaskResult { orientation: cgImageSource.orientation(at: 0) ) #else - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() #endif } @@ -539,6 +539,6 @@ private func updateTaskResult(_ result: TaskResult, config: TaskConfig) { } } #else - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() #endif } diff --git a/Sources/OpenSwiftUICore/Data/DynamicProperty/DynamicPropertyBuffer.swift b/Sources/OpenSwiftUICore/Data/DynamicProperty/DynamicPropertyBuffer.swift index d9f9a3c75..1c00a3883 100644 --- a/Sources/OpenSwiftUICore/Data/DynamicProperty/DynamicPropertyBuffer.swift +++ b/Sources/OpenSwiftUICore/Data/DynamicProperty/DynamicPropertyBuffer.swift @@ -273,7 +273,7 @@ private class BoxVTableBase { ptr _: UnsafeMutableRawPointer, from _: UnsafeMutableRawPointer ) { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } class func deinitialize(ptr _: UnsafeMutableRawPointer) {} diff --git a/Sources/OpenSwiftUICore/Data/DynamicProperty/UnsafeHeterogeneousBuffer.swift b/Sources/OpenSwiftUICore/Data/DynamicProperty/UnsafeHeterogeneousBuffer.swift index 814664ba0..dc95296d7 100644 --- a/Sources/OpenSwiftUICore/Data/DynamicProperty/UnsafeHeterogeneousBuffer.swift +++ b/Sources/OpenSwiftUICore/Data/DynamicProperty/UnsafeHeterogeneousBuffer.swift @@ -184,11 +184,11 @@ open class _UnsafeHeterogeneousBuffer_VTable { } open class func moveInitialize(elt: _UnsafeHeterogeneousBuffer_Element, from: _UnsafeHeterogeneousBuffer_Element) { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } open class func deinitialize(elt: _UnsafeHeterogeneousBuffer_Element) { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } } diff --git a/Sources/OpenSwiftUICore/Data/Environment/CachedEnvironment.swift b/Sources/OpenSwiftUICore/Data/Environment/CachedEnvironment.swift index e285f355a..981685021 100644 --- a/Sources/OpenSwiftUICore/Data/Environment/CachedEnvironment.swift +++ b/Sources/OpenSwiftUICore/Data/Environment/CachedEnvironment.swift @@ -63,7 +63,7 @@ package struct CachedEnvironment { role: ShapeRole, mode: Attribute<_ShapeStyle_ResolverMode>? ) -> Attribute<_ShapeStyle_Pack> { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Data/Environment/EnvironmentAdditions.swift b/Sources/OpenSwiftUICore/Data/Environment/EnvironmentAdditions.swift index 65836e1ec..cf7059db8 100644 --- a/Sources/OpenSwiftUICore/Data/Environment/EnvironmentAdditions.swift +++ b/Sources/OpenSwiftUICore/Data/Environment/EnvironmentAdditions.swift @@ -70,15 +70,15 @@ extension EnvironmentValues { @available(watchOS, unavailable) @available(visionOS, unavailable) public var _useVibrantStyling: Bool { - get { openSwiftUIUnimplementedFailure() } - set { openSwiftUIUnimplementedFailure() } + get { _openSwiftUIUnimplementedFailure() } + set { _openSwiftUIUnimplementedFailure() } } @available(iOS, unavailable) @available(tvOS, unavailable) @available(watchOS, unavailable) package var reduceDesktopTinting: Bool { - get { openSwiftUIUnimplementedFailure() } - set { openSwiftUIUnimplementedFailure() } + get { _openSwiftUIUnimplementedFailure() } + set { _openSwiftUIUnimplementedFailure() } } } diff --git a/Sources/OpenSwiftUICore/Data/Location.swift b/Sources/OpenSwiftUICore/Data/Location.swift index 6e21147ae..5646e3d48 100644 --- a/Sources/OpenSwiftUICore/Data/Location.swift +++ b/Sources/OpenSwiftUICore/Data/Location.swift @@ -43,23 +43,23 @@ extension AnyLocationBase: Sendable {} open class AnyLocation: AnyLocationBase, @unchecked Sendable { @_spi(ForOpenSwiftUIOnly) open var wasRead: Bool { - get { openSwiftUIBaseClassAbstractMethod() } - set { openSwiftUIBaseClassAbstractMethod() } + get { _openSwiftUIBaseClassAbstractMethod() } + set { _openSwiftUIBaseClassAbstractMethod() } } @_spi(ForOpenSwiftUIOnly) - open func get() -> Value { openSwiftUIBaseClassAbstractMethod() } + open func get() -> Value { _openSwiftUIBaseClassAbstractMethod() } @_spi(ForOpenSwiftUIOnly) - open func set(_ value: Value, transaction: Transaction) { openSwiftUIBaseClassAbstractMethod() } + open func set(_ value: Value, transaction: Transaction) { _openSwiftUIBaseClassAbstractMethod() } @_spi(ForOpenSwiftUIOnly) open func projecting

(_ projection: P) -> AnyLocation where Value == P.Base, P: Projection { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } @_spi(ForOpenSwiftUIOnly) - open func update() -> (Value, Bool) { openSwiftUIBaseClassAbstractMethod() } + open func update() -> (Value, Bool) { _openSwiftUIBaseClassAbstractMethod() } @_spi(ForOpenSwiftUIOnly) open func isEqual(to other: AnyLocation) -> Bool { self === other } diff --git a/Sources/OpenSwiftUICore/Data/Preference/PreferenceList.swift b/Sources/OpenSwiftUICore/Data/Preference/PreferenceList.swift index 8ed1d19cf..d09e0f0cf 100644 --- a/Sources/OpenSwiftUICore/Data/Preference/PreferenceList.swift +++ b/Sources/OpenSwiftUICore/Data/Preference/PreferenceList.swift @@ -178,11 +178,11 @@ private class PreferenceNode: CustomStringConvertible { return nil } - func find(from _: PreferenceNode?) -> PreferenceNode? { openSwiftUIBaseClassAbstractMethod() } - func combine(from _: PreferenceNode?, next _: PreferenceNode?) -> PreferenceNode? { openSwiftUIBaseClassAbstractMethod() } - func copy(next _: PreferenceNode?) -> PreferenceNode { openSwiftUIBaseClassAbstractMethod() } - class var _includesRemovedValues: Bool { openSwiftUIBaseClassAbstractMethod() } - var description: String { openSwiftUIBaseClassAbstractMethod() } + func find(from _: PreferenceNode?) -> PreferenceNode? { _openSwiftUIBaseClassAbstractMethod() } + func combine(from _: PreferenceNode?, next _: PreferenceNode?) -> PreferenceNode? { _openSwiftUIBaseClassAbstractMethod() } + func copy(next _: PreferenceNode?) -> PreferenceNode { _openSwiftUIBaseClassAbstractMethod() } + class var _includesRemovedValues: Bool { _openSwiftUIBaseClassAbstractMethod() } + var description: String { _openSwiftUIBaseClassAbstractMethod() } } // MARK: - PreferenceNode diff --git a/Sources/OpenSwiftUICore/Data/PropertyList.swift b/Sources/OpenSwiftUICore/Data/PropertyList.swift index d19239865..beffe41e2 100644 --- a/Sources/OpenSwiftUICore/Data/PropertyList.swift +++ b/Sources/OpenSwiftUICore/Data/PropertyList.swift @@ -900,7 +900,7 @@ extension PropertyList { /// A textual representation of the element. @usableFromInline - package var description: String { openSwiftUIBaseClassAbstractMethod() } + package var description: String { _openSwiftUIBaseClassAbstractMethod() } /// Checks if this element matches another element, ignoring specified types. /// @@ -909,7 +909,7 @@ extension PropertyList { /// - ignoredTypes: Types to ignore during comparison. /// - Returns: `true` if the elements match, otherwise `false`. func matches(_ other: Element, ignoredTypes: inout [ObjectIdentifier]) -> Bool { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } /// Creates a copy of this element with the specified before and after elements. @@ -919,7 +919,7 @@ extension PropertyList { /// - after: The element to link after this one. /// - Returns: A new element with the same value but different links. func copy(before: Element?, after: Element?) -> Element { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } /// Extracts a value of the specified type from this element. @@ -927,7 +927,7 @@ extension PropertyList { /// - Parameter type: The type to extract the value as. /// - Returns: The extracted value. func value(as type: T.Type) -> T { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } } } diff --git a/Sources/OpenSwiftUICore/Data/State/StoredLocation.swift b/Sources/OpenSwiftUICore/Data/State/StoredLocation.swift index 7048cdbc8..00dd122cd 100644 --- a/Sources/OpenSwiftUICore/Data/State/StoredLocation.swift +++ b/Sources/OpenSwiftUICore/Data/State/StoredLocation.swift @@ -55,15 +55,15 @@ package class StoredLocationBase: AnyLocation, Location, @unchecke // MARK: - abstract method fileprivate var isUpdating: Bool { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } fileprivate func commit(transaction: Transaction, mutation: BeginUpdate) { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } fileprivate func notifyObservers() { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } // MARK: - AnyLocation diff --git a/Sources/OpenSwiftUICore/Event/Event/EventBindingBridge.swift b/Sources/OpenSwiftUICore/Event/Event/EventBindingBridge.swift index e5b1cfee3..ff913572c 100644 --- a/Sources/OpenSwiftUICore/Event/Event/EventBindingBridge.swift +++ b/Sources/OpenSwiftUICore/Event/Event/EventBindingBridge.swift @@ -34,18 +34,18 @@ open class EventBindingBridge { _ events: [EventID: any EventType], source: any EventBindingSource ) -> Set { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } open func reset( eventSource: any EventBindingSource, resetForwardedEventDispatchers: Bool = false ) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } private func resetEvent() { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } open func setInheritedPhase(_ phase: _GestureInputs.InheritedPhase) { diff --git a/Sources/OpenSwiftUICore/Event/Event/EventBindingManager.swift b/Sources/OpenSwiftUICore/Event/Event/EventBindingManager.swift index 931885ce9..b1ab3cc15 100644 --- a/Sources/OpenSwiftUICore/Event/Event/EventBindingManager.swift +++ b/Sources/OpenSwiftUICore/Event/Event/EventBindingManager.swift @@ -48,19 +48,19 @@ final public class EventBindingManager { _ identifier: EventID, to: ResponderNode? ) -> (from: EventBinding?, to: EventBinding?)? { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func willRemoveResponder(_ from: ResponderNode) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func setInheritedPhase(_ phase: _GestureInputs.InheritedPhase) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } private func sendDownstream(_ events: [EventID: any EventType]) -> Set { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } @discardableResult @@ -74,23 +74,23 @@ final public class EventBindingManager { } package func send(_ event: E, id: Int) where E: EventType { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } - package var rootResponder: ResponderNode? { openSwiftUIUnimplementedFailure() } + package var rootResponder: ResponderNode? { _openSwiftUIUnimplementedFailure() } - package var focusedResponder: ResponderNode? { openSwiftUIUnimplementedFailure() } + package var focusedResponder: ResponderNode? { _openSwiftUIUnimplementedFailure() } package func reset(resetForwardedEventDispatchers: Bool = false) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func isActive(for eventType: E.Type) -> Bool where E: EventType { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func binds(_ event: E) -> Bool where E: EventType { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Event/Gesture/AnyGesture.swift b/Sources/OpenSwiftUICore/Event/Gesture/AnyGesture.swift index c3aeb5802..508c1a675 100644 --- a/Sources/OpenSwiftUICore/Event/Gesture/AnyGesture.swift +++ b/Sources/OpenSwiftUICore/Event/Gesture/AnyGesture.swift @@ -47,7 +47,7 @@ extension AnyGesture: Sendable {} class AnyGestureStorageBase { fileprivate func matches(_ other: AnyGestureStorageBase) -> Bool { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } fileprivate func makeChild( @@ -55,11 +55,11 @@ class AnyGestureStorageBase { container: Attribute.Value>, inputs: _GestureInputs ) -> _GestureOutputs { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } fileprivate func updateChild(context: AnyRuleContext) { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } } diff --git a/Sources/OpenSwiftUICore/Event/Gesture/GestureDebug.swift b/Sources/OpenSwiftUICore/Event/Gesture/GestureDebug.swift index 7c1dc9ae4..ea66d22ee 100644 --- a/Sources/OpenSwiftUICore/Event/Gesture/GestureDebug.swift +++ b/Sources/OpenSwiftUICore/Event/Gesture/GestureDebug.swift @@ -33,8 +33,8 @@ package enum GestureDebug { package typealias Children = ArrayWith2Inline package var children: GestureDebug.Data.Children { - get { openSwiftUIUnimplementedFailure() } - set { openSwiftUIUnimplementedFailure() } + get { _openSwiftUIUnimplementedFailure() } + set { _openSwiftUIUnimplementedFailure() } } package init() { @@ -57,7 +57,7 @@ package enum GestureDebug { frame: CGRect, properties: GestureDebug.Properties ) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } } @@ -165,7 +165,7 @@ extension _GestureOutputs { inputs: _GestureInputs, data: (Attribute?, Attribute?) ) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } @@ -174,12 +174,12 @@ extension GesturePhase { @_spi(ForSwiftUIOnly) package var descriptionWithoutValue: String { @_spi(ForSwiftUIOnly) - get { openSwiftUIUnimplementedFailure() } + get { _openSwiftUIUnimplementedFailure() } } } extension GestureDebug.Data { package func printTree() { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Event/Gesture/GestureGraph.swift b/Sources/OpenSwiftUICore/Event/Gesture/GestureGraph.swift index 50a62e713..f895b564a 100644 --- a/Sources/OpenSwiftUICore/Event/Gesture/GestureGraph.swift +++ b/Sources/OpenSwiftUICore/Event/Gesture/GestureGraph.swift @@ -34,7 +34,7 @@ final package class GestureGraph: GraphHost, EventGraphHost, CustomStringConvert init(rootResponder: AnyGestureResponder) { self.rootResponder = rootResponder - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package var description: String { @@ -42,7 +42,7 @@ final package class GestureGraph: GraphHost, EventGraphHost, CustomStringConvert } override package func instantiateOutputs() { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } override package func uninstantiateOutputs() { @@ -90,7 +90,7 @@ final package class GestureGraph: GraphHost, EventGraphHost, CustomStringConvert guard let rootResponder, rootResponder.isValid else { return .failed } - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func resetEvents() { diff --git a/Sources/OpenSwiftUICore/Event/Gesture/GestureViewModifier.swift b/Sources/OpenSwiftUICore/Event/Gesture/GestureViewModifier.swift index 1e1fc8d00..9fb685b1d 100644 --- a/Sources/OpenSwiftUICore/Event/Gesture/GestureViewModifier.swift +++ b/Sources/OpenSwiftUICore/Event/Gesture/GestureViewModifier.swift @@ -350,7 +350,7 @@ private class GestureResponder: DefaultLayoutViewResponder, AnyGesture cacheKey: UInt32?, options: ViewResponder.ContainsPointsOptions ) -> ViewResponder.ContainsPointsResult { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } override func bindEvent(_ event: any EventType) -> ResponderNode? { @@ -392,7 +392,7 @@ private class GestureResponder: DefaultLayoutViewResponder, AnyGesture // } // // TODO: GestureViewDebug // return closure() - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } @@ -604,7 +604,7 @@ private struct SubviewsPhase: StatefulRule, ObservedAttribute { @OptionalAttribute var childDebugData: GestureDebug.Data? mutating func updateValue() { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } func destroy() { @@ -660,7 +660,7 @@ extension Optional: Gesture where Wrapped: Gesture { gesture: _GraphValue>, inputs: _GestureInputs ) -> _GestureOutputs { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } public typealias Body = Never diff --git a/Sources/OpenSwiftUICore/Event/Gesture/LayoutGesture.swift b/Sources/OpenSwiftUICore/Event/Gesture/LayoutGesture.swift index ef0e83239..2b3e6d59e 100644 --- a/Sources/OpenSwiftUICore/Event/Gesture/LayoutGesture.swift +++ b/Sources/OpenSwiftUICore/Event/Gesture/LayoutGesture.swift @@ -20,14 +20,14 @@ extension LayoutGesture { gesture: _GraphValue, inputs: _GestureInputs ) -> _GestureOutputs { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func updateEventBindings( _ events: inout [EventID : any EventType], proxy: LayoutGestureChildProxy ) { - openSwiftUIEmptyStub() + _openSwiftUIEmptyStub() } } @@ -45,24 +45,24 @@ package struct DefaultLayoutGesture: LayoutGesture { package struct LayoutGestureChildProxy: RandomAccessCollection { package struct Child { package func binds(_ binding: EventBinding) -> Bool { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func containsGlobalLocation(_ p: PlatformPoint) -> Bool { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } package var startIndex: Int { - get { openSwiftUIUnimplementedFailure() } + get { _openSwiftUIUnimplementedFailure() } } package var endIndex: Int { - get { openSwiftUIUnimplementedFailure() } + get { _openSwiftUIUnimplementedFailure() } } package subscript(index: Int) -> LayoutGestureChildProxy.Child { - get { openSwiftUIUnimplementedFailure() } + get { _openSwiftUIUnimplementedFailure() } } package func bindChild( @@ -70,6 +70,6 @@ package struct LayoutGestureChildProxy: RandomAccessCollection { event: any EventType, id: EventID ) -> (from: EventBinding?, to: EventBinding?)? { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Event/Gesture/MapGesture.swift b/Sources/OpenSwiftUICore/Event/Gesture/MapGesture.swift index 749fabe86..9ec56733d 100644 --- a/Sources/OpenSwiftUICore/Event/Gesture/MapGesture.swift +++ b/Sources/OpenSwiftUICore/Event/Gesture/MapGesture.swift @@ -28,7 +28,7 @@ package struct MapGesture: GestureModifier { // gesture: modifier[offset: { .of(&$0.body) }], // inputs: inputs // ) - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package typealias BodyValue = From @@ -44,11 +44,11 @@ extension Gesture { } public func map(_ body: @escaping (Value) -> T) -> _MapGesture { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func discrete(_ enabled: Bool = true) -> ModifierGesture, Self> { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } @@ -58,7 +58,7 @@ public struct _MapGesture: PrimitiveGesture where Content: Gestu gesture: _GraphValue<_MapGesture>, inputs: _GestureInputs ) -> _GestureOutputs { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } public typealias Body = Never diff --git a/Sources/OpenSwiftUICore/Event/Gesture/RepeatGesture.swift b/Sources/OpenSwiftUICore/Event/Gesture/RepeatGesture.swift index 2f0aef826..331d035f1 100644 --- a/Sources/OpenSwiftUICore/Event/Gesture/RepeatGesture.swift +++ b/Sources/OpenSwiftUICore/Event/Gesture/RepeatGesture.swift @@ -32,7 +32,7 @@ package struct RepeatGesture: GestureModifier { inputs: _GestureInputs, body: (_GestureInputs) -> _GestureOutputs ) -> _GestureOutputs { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } @@ -54,6 +54,6 @@ private struct RepeatPhase: ResettableGestureRule { guard resetIfNeeded() else { return } - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Event/Responder/HitTestBindingModifier.swift b/Sources/OpenSwiftUICore/Event/Responder/HitTestBindingModifier.swift index 89497eee0..0aee99c35 100644 --- a/Sources/OpenSwiftUICore/Event/Responder/HitTestBindingModifier.swift +++ b/Sources/OpenSwiftUICore/Event/Responder/HitTestBindingModifier.swift @@ -15,7 +15,7 @@ package struct HitTestBindingModifier: ViewModifier, MultiViewModifier, Primitiv inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs ) -> _ViewOutputs { - openSwiftUIUnimplementedWarning() + _openSwiftUIUnimplementedWarning() return body(_Graph(), inputs) } @@ -23,7 +23,7 @@ package struct HitTestBindingModifier: ViewModifier, MultiViewModifier, Primitiv } extension ViewResponder { - package static var hitTestKey: UInt32 { openSwiftUIUnimplementedFailure() } + package static var hitTestKey: UInt32 { _openSwiftUIUnimplementedFailure() } package static let minOpacityForHitTest: Double = 0.0 @@ -33,7 +33,7 @@ extension ViewResponder { cacheKey: UInt32? = nil, options: ContainsPointsOptions = .platformDefault ) -> ViewResponder? { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } private func hitTest( @@ -43,10 +43,10 @@ extension ViewResponder { cacheKey: UInt32?, options: ContainsPointsOptions ) -> ViewResponder? { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } private func hitPoints(point: PlatformPoint, radius: CGFloat) -> ([PlatformPoint], [Double]) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } diff --git a/Sources/OpenSwiftUICore/Event/Responder/MultiViewResponder.swift b/Sources/OpenSwiftUICore/Event/Responder/MultiViewResponder.swift index 3deccb25a..b10d3fb1d 100644 --- a/Sources/OpenSwiftUICore/Event/Responder/MultiViewResponder.swift +++ b/Sources/OpenSwiftUICore/Event/Responder/MultiViewResponder.swift @@ -103,7 +103,7 @@ open class MultiViewResponder: ViewResponder { override final public var children: [ViewResponder] { get { _children } - set { openSwiftUIUnimplementedFailure() } + set { _openSwiftUIUnimplementedFailure() } } open func childrenDidChange() { diff --git a/Sources/OpenSwiftUICore/Event/Responder/ResponderNode.swift b/Sources/OpenSwiftUICore/Event/Responder/ResponderNode.swift index ee15807b7..f5ed3e2f4 100644 --- a/Sources/OpenSwiftUICore/Event/Responder/ResponderNode.swift +++ b/Sources/OpenSwiftUICore/Event/Responder/ResponderNode.swift @@ -12,7 +12,7 @@ open class ResponderNode { public init() {} open var nextResponder: ResponderNode? { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } open func bindEvent(_ event: any EventType) -> ResponderNode? { @@ -29,7 +29,7 @@ open class ResponderNode { } open func resetGesture() { - openSwiftUIEmptyStub() + _openSwiftUIEmptyStub() } final package var sequence: some Sequence { diff --git a/Sources/OpenSwiftUICore/Event/Responder/ViewResponder.swift b/Sources/OpenSwiftUICore/Event/Responder/ViewResponder.swift index 346de75e1..beeacf336 100644 --- a/Sources/OpenSwiftUICore/Event/Responder/ViewResponder.swift +++ b/Sources/OpenSwiftUICore/Event/Responder/ViewResponder.swift @@ -143,7 +143,7 @@ open class ViewResponder: ResponderNode, CustomStringConvertible/*, CustomRecurs open var descriptionName: String { // recursiveDescriptionName(Self.self) - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } public var description: String { @@ -153,7 +153,7 @@ open class ViewResponder: ResponderNode, CustomStringConvertible/*, CustomRecurs @inline(never) final package func printTree(depth: Int = 0) { // Log.eventDebug - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } open func extendPrintTree(string: inout String) {} diff --git a/Sources/OpenSwiftUICore/Graph/GraphHost.swift b/Sources/OpenSwiftUICore/Graph/GraphHost.swift index 562eb468d..6df0bafa7 100644 --- a/Sources/OpenSwiftUICore/Graph/GraphHost.swift +++ b/Sources/OpenSwiftUICore/Graph/GraphHost.swift @@ -266,7 +266,7 @@ extension GraphHost { guard isInstantiated else { return } - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package final func uninstantiate() { @@ -509,7 +509,7 @@ extension GraphHost { private static var pendingGlobalTransactions: [GlobalTransaction] = [] private static func flushGlobalTransactions() { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package static func globalTransaction( @@ -518,7 +518,7 @@ extension GraphHost { mutation: T, hostProvider: any TransactionHostProvider ) where T: GraphMutation { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } @@ -687,5 +687,5 @@ private var blockedGraphHosts: [Unmanaged] = [] private let waitingForPreviewThunks = EnvironmentHelper.bool(for: "XCODE_RUNNING_FOR_PREVIEWS") public func __previewThunksHaveFinishedLoading() { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } diff --git a/Sources/OpenSwiftUICore/Graphic/Color/Color.swift b/Sources/OpenSwiftUICore/Graphic/Color/Color.swift index 9396cca18..8c7054552 100644 --- a/Sources/OpenSwiftUICore/Graphic/Color/Color.swift +++ b/Sources/OpenSwiftUICore/Graphic/Color/Color.swift @@ -215,15 +215,15 @@ package class AnyColorBox: AnyShapeStyleBox, @unchecked Sendable { shape.result = .color(color) } - package func resolve(in environment: EnvironmentValues) -> Color.Resolved { openSwiftUIBaseClassAbstractMethod() } - package func apply(color: Color, to shape: inout _ShapeStyle_Shape) { openSwiftUIBaseClassAbstractMethod() } + package func resolve(in environment: EnvironmentValues) -> Color.Resolved { _openSwiftUIBaseClassAbstractMethod() } + package func apply(color: Color, to shape: inout _ShapeStyle_Shape) { _openSwiftUIBaseClassAbstractMethod() } #if canImport(Darwin) - package var staticColor: CGColor? { openSwiftUIBaseClassAbstractMethod() } + package var staticColor: CGColor? { _openSwiftUIBaseClassAbstractMethod() } #endif - package var kitColor: AnyObject? { openSwiftUIBaseClassAbstractMethod() } - package func hash(into hasher: inout Hasher) { openSwiftUIBaseClassAbstractMethod() } - package var description: String { openSwiftUIBaseClassAbstractMethod() } - package func opacity(at level: Int, environment: EnvironmentValues) -> Float { openSwiftUIBaseClassAbstractMethod() } + package var kitColor: AnyObject? { _openSwiftUIBaseClassAbstractMethod() } + package func hash(into hasher: inout Hasher) { _openSwiftUIBaseClassAbstractMethod() } + package var description: String { _openSwiftUIBaseClassAbstractMethod() } + package func opacity(at level: Int, environment: EnvironmentValues) -> Float { _openSwiftUIBaseClassAbstractMethod() } } extension AnyColorBox { // 6.4.41 diff --git a/Sources/OpenSwiftUICore/Graphic/Color/ColorMatrix.swift b/Sources/OpenSwiftUICore/Graphic/Color/ColorMatrix.swift index 9f3d15f53..097e03355 100644 --- a/Sources/OpenSwiftUICore/Graphic/Color/ColorMatrix.swift +++ b/Sources/OpenSwiftUICore/Graphic/Color/ColorMatrix.swift @@ -58,7 +58,7 @@ public struct _ColorMatrix: Equatable, Codable { public init(color: Color, in environment: EnvironmentValues) { // Blocked by Color - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package init(_ m: ColorMatrix) { @@ -171,7 +171,7 @@ extension _ColorMatrix { } package init?(_ filter: GraphicsFilter, premultiplied: Bool = false) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package init(colorMultiply c: Color.Resolved, premultiplied: Bool = false) { diff --git a/Sources/OpenSwiftUICore/Graphic/Color/ColorView.swift b/Sources/OpenSwiftUICore/Graphic/Color/ColorView.swift index 6999ff075..affeb5ff5 100644 --- a/Sources/OpenSwiftUICore/Graphic/Color/ColorView.swift +++ b/Sources/OpenSwiftUICore/Graphic/Color/ColorView.swift @@ -23,11 +23,11 @@ package struct ColorView: RendererLeafView, Animatable { } package var descriptionAttributes: [(name: String, value: String)] { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func contains(points: [PlatformPoint], size: CGSize) -> BitVector64 { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func content() -> DisplayList.Content.Value { diff --git a/Sources/OpenSwiftUICore/Graphic/Color/ConstantColor.swift b/Sources/OpenSwiftUICore/Graphic/Color/ConstantColor.swift index be0434448..c1d4f4ffc 100644 --- a/Sources/OpenSwiftUICore/Graphic/Color/ConstantColor.swift +++ b/Sources/OpenSwiftUICore/Graphic/Color/ConstantColor.swift @@ -164,7 +164,7 @@ extension Color.Resolved : Animatable { get { if Self.legacyInterpolation { // ResolvedGradient.Color.Space.convertIn(self) - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } else { return AnimatablePair( linearRed.scaled(by: .unitScale), @@ -182,7 +182,7 @@ extension Color.Resolved : Animatable { set { if Self.legacyInterpolation { // ResolvedGradient.Color.Space.convertOut(self) - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } else { linearRed = newValue.first.scaled(by: .inverseUnitScale) linearGreen = newValue.second.first.scaled(by: .inverseUnitScale) diff --git a/Sources/OpenSwiftUICore/Graphic/Color/NamedColor.swift b/Sources/OpenSwiftUICore/Graphic/Color/NamedColor.swift index 2235ce87d..8b81e2fc4 100644 --- a/Sources/OpenSwiftUICore/Graphic/Color/NamedColor.swift +++ b/Sources/OpenSwiftUICore/Graphic/Color/NamedColor.swift @@ -207,7 +207,7 @@ public import DeveloperToolsSupport extension Color { /// Initialize a `Color` with a color resource. public init(_ resource: ColorResource) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } #endif diff --git a/Sources/OpenSwiftUICore/Graphic/Color/Paint.swift b/Sources/OpenSwiftUICore/Graphic/Color/Paint.swift index 2feb78819..1a2569ef8 100644 --- a/Sources/OpenSwiftUICore/Graphic/Color/Paint.swift +++ b/Sources/OpenSwiftUICore/Graphic/Color/Paint.swift @@ -46,8 +46,8 @@ package class AnyResolvedPaint: Equatable { package var isCALayerCompatible: Bool { false } package func isEqual(to other: AnyResolvedPaint) -> Bool { false } package func visit(_ visitor: inout V) where V : ResolvedPaintVisitor {} - package func encode(to encoder: any Encoder) throws { openSwiftUIBaseClassAbstractMethod() } - package func encode(to encoder: inout ProtobufEncoder) throws { openSwiftUIBaseClassAbstractMethod() } + package func encode(to encoder: any Encoder) throws { _openSwiftUIBaseClassAbstractMethod() } + package func encode(to encoder: inout ProtobufEncoder) throws { _openSwiftUIBaseClassAbstractMethod() } package static func == (lhs: AnyResolvedPaint, rhs: AnyResolvedPaint) -> Bool { lhs.isEqual(to: rhs) } } diff --git a/Sources/OpenSwiftUICore/Graphic/Gradient/GradientColorSpace.swift b/Sources/OpenSwiftUICore/Graphic/Gradient/GradientColorSpace.swift index a0514727a..00a598ff1 100644 --- a/Sources/OpenSwiftUICore/Graphic/Gradient/GradientColorSpace.swift +++ b/Sources/OpenSwiftUICore/Graphic/Gradient/GradientColorSpace.swift @@ -22,12 +22,12 @@ extension Gradient { } // public func colorSpace(_ space: Gradient.ColorSpace) -> AnyGradient { -// openSwiftUIUnimplementedFailure() +// _openSwiftUIUnimplementedFailure() // } } //extension AnyGradient { // public func colorSpace(_ space: Gradient.ColorSpace) -> AnyGradient { -// openSwiftUIUnimplementedFailure() +// _openSwiftUIUnimplementedFailure() // } //} diff --git a/Sources/OpenSwiftUICore/Graphic/Gradient/ResolvedGradient.swift b/Sources/OpenSwiftUICore/Graphic/Gradient/ResolvedGradient.swift index 4387d265f..04bcc22d7 100644 --- a/Sources/OpenSwiftUICore/Graphic/Gradient/ResolvedGradient.swift +++ b/Sources/OpenSwiftUICore/Graphic/Gradient/ResolvedGradient.swift @@ -12,7 +12,7 @@ package struct ResolvedGradient: Equatable { case perceptual func mix(_ lhs: Color.Resolved, _ rhs: Color.Resolved, by fraction: Float) -> Color.Resolved { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } } diff --git a/Sources/OpenSwiftUICore/Graphic/GraphicsContext.swift b/Sources/OpenSwiftUICore/Graphic/GraphicsContext.swift index 6cf3ed530..aa6938bb8 100644 --- a/Sources/OpenSwiftUICore/Graphic/GraphicsContext.swift +++ b/Sources/OpenSwiftUICore/Graphic/GraphicsContext.swift @@ -491,6 +491,6 @@ public struct GraphicsContext { extension GraphicsContext { package func draw(_ path: Path, with shading: GraphicsContext.ResolvedShading, style: PathDrawingStyle) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Layout/AnyLayout.swift b/Sources/OpenSwiftUICore/Layout/AnyLayout.swift index 4f68d5d88..35a460bff 100644 --- a/Sources/OpenSwiftUICore/Layout/AnyLayout.swift +++ b/Sources/OpenSwiftUICore/Layout/AnyLayout.swift @@ -502,44 +502,44 @@ extension AnyLayout: Sendable {} @usableFromInline class AnyLayoutBox { var layoutProperties: LayoutProperties { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } func makeCache(subviews: LayoutSubviews) -> AnyLayout.Cache { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } func updateCache(_ cache: inout AnyLayout.Cache, subviews: LayoutSubviews) { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } func spacing(subviews: LayoutSubviews, cache: inout AnyLayout.Cache) -> ViewSpacing { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } func sizeThatFits(proposal: ProposedViewSize, subviews: LayoutSubviews, cache: inout AnyLayout.Cache) -> CGSize { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: LayoutSubviews, cache: inout AnyLayout.Cache) { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } func explicitAlignment(of guide: HorizontalAlignment, in bounds: CGRect, proposal: ProposedViewSize, subviews: LayoutSubviews, cache: inout AnyLayout.Cache) -> CGFloat? { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } func explicitAlignment(of guide: VerticalAlignment, in bounds: CGRect, proposal: ProposedViewSize, subviews: LayoutSubviews, cache: inout AnyLayout.Cache) -> CGFloat? { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } var animatableData: AnyLayout.AnimatableData { - get { openSwiftUIBaseClassAbstractMethod() } - set { openSwiftUIBaseClassAbstractMethod() } + get { _openSwiftUIBaseClassAbstractMethod() } + set { _openSwiftUIBaseClassAbstractMethod() } } func withAnimatableData(_ data: AnyLayout.AnimatableData) -> AnyLayoutBox { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } } diff --git a/Sources/OpenSwiftUICore/Layout/Geometry/Anchor.swift b/Sources/OpenSwiftUICore/Layout/Geometry/Anchor.swift index bfd8d175d..d19b6b452 100644 --- a/Sources/OpenSwiftUICore/Layout/Geometry/Anchor.swift +++ b/Sources/OpenSwiftUICore/Layout/Geometry/Anchor.swift @@ -9,6 +9,6 @@ package struct AnchorGeometry {} @frozen public struct Anchor { package func convert(to transform: ViewTransform) -> Value { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Layout/Layout.swift b/Sources/OpenSwiftUICore/Layout/Layout.swift index 86eb53527..92be62e74 100644 --- a/Sources/OpenSwiftUICore/Layout/Layout.swift +++ b/Sources/OpenSwiftUICore/Layout/Layout.swift @@ -711,7 +711,7 @@ extension Layout { subviews: Subviews, cache: inout Cache ) -> CGFloat? { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } public func explicitAlignment( @@ -721,11 +721,11 @@ extension Layout { subviews: Subviews, cache: inout Cache ) -> CGFloat? { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } public func spacing(subviews: Subviews, cache: inout Cache) -> ViewSpacing { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Layout/LayoutComputer/LayoutComputer.swift b/Sources/OpenSwiftUICore/Layout/LayoutComputer/LayoutComputer.swift index f959a48a7..4eec71485 100644 --- a/Sources/OpenSwiftUICore/Layout/LayoutComputer/LayoutComputer.swift +++ b/Sources/OpenSwiftUICore/Layout/LayoutComputer/LayoutComputer.swift @@ -70,25 +70,25 @@ package struct LayoutComputer: Equatable { // MARK: - AnyLayoutEngineBox private class AnyLayoutEngineBox { - func mutateEngine(as type: E.Type, do body: (inout E) -> R) -> R where E: LayoutEngine { openSwiftUIBaseClassAbstractMethod() } + func mutateEngine(as type: E.Type, do body: (inout E) -> R) -> R where E: LayoutEngine { _openSwiftUIBaseClassAbstractMethod() } - func layoutPriority() -> Double { openSwiftUIBaseClassAbstractMethod() } + func layoutPriority() -> Double { _openSwiftUIBaseClassAbstractMethod() } - func ignoresAutomaticPadding() -> Bool { openSwiftUIBaseClassAbstractMethod() } + func ignoresAutomaticPadding() -> Bool { _openSwiftUIBaseClassAbstractMethod() } - func requiresSpacingProjection() -> Bool { openSwiftUIBaseClassAbstractMethod() } + func requiresSpacingProjection() -> Bool { _openSwiftUIBaseClassAbstractMethod() } - func spacing() -> Spacing { openSwiftUIBaseClassAbstractMethod() } + func spacing() -> Spacing { _openSwiftUIBaseClassAbstractMethod() } - func sizeThatFits(_ proposedSize: _ProposedSize) -> CGSize { openSwiftUIBaseClassAbstractMethod() } + func sizeThatFits(_ proposedSize: _ProposedSize) -> CGSize { _openSwiftUIBaseClassAbstractMethod() } - func lengthThatFits(_ proposal: _ProposedSize, in axis: Axis) -> CGFloat { openSwiftUIBaseClassAbstractMethod() } + func lengthThatFits(_ proposal: _ProposedSize, in axis: Axis) -> CGFloat { _openSwiftUIBaseClassAbstractMethod() } - func childGeometries(at parentSize: ViewSize, origin: CGPoint) -> [ViewGeometry] { openSwiftUIBaseClassAbstractMethod() } + func childGeometries(at parentSize: ViewSize, origin: CGPoint) -> [ViewGeometry] { _openSwiftUIBaseClassAbstractMethod() } - func explicitAlignment(_ k: AlignmentKey, at viewSize: ViewSize) -> CGFloat? { openSwiftUIBaseClassAbstractMethod() } + func explicitAlignment(_ k: AlignmentKey, at viewSize: ViewSize) -> CGFloat? { _openSwiftUIBaseClassAbstractMethod() } - var debugContentDescription: String? { openSwiftUIBaseClassAbstractMethod() } + var debugContentDescription: String? { _openSwiftUIBaseClassAbstractMethod() } } // MARK: - LayoutEngineBox diff --git a/Sources/OpenSwiftUICore/Layout/LayoutComputer/UnaryLayoutComputer.swift b/Sources/OpenSwiftUICore/Layout/LayoutComputer/UnaryLayoutComputer.swift index 353fa4eb9..190636c6e 100644 --- a/Sources/OpenSwiftUICore/Layout/LayoutComputer/UnaryLayoutComputer.swift +++ b/Sources/OpenSwiftUICore/Layout/LayoutComputer/UnaryLayoutComputer.swift @@ -16,7 +16,7 @@ extension UnaryLayout where Self.PlacementContextType == _PositionAwarePlacement inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs ) -> _ViewOutputs { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Layout/SafeAreaInsets.swift b/Sources/OpenSwiftUICore/Layout/SafeAreaInsets.swift index bb74fc878..166565c21 100644 --- a/Sources/OpenSwiftUICore/Layout/SafeAreaInsets.swift +++ b/Sources/OpenSwiftUICore/Layout/SafeAreaInsets.swift @@ -70,7 +70,7 @@ package struct SafeAreaInsets: Equatable { } package func resolve(regions: SafeAreaRegions, in ctx: _PositionAwarePlacementContext) -> EdgeInsets { - // openSwiftUIUnimplementedFailure() + // _openSwiftUIUnimplementedFailure() .zero } @@ -79,7 +79,7 @@ package struct SafeAreaInsets: Equatable { regions: SafeAreaRegions, to: _PositionAwarePlacementContext ) { - // openSwiftUIUnimplementedFailure() + // _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Layout/Stack/HVStack.swift b/Sources/OpenSwiftUICore/Layout/Stack/HVStack.swift index 26e1c87d0..708676421 100644 --- a/Sources/OpenSwiftUICore/Layout/Stack/HVStack.swift +++ b/Sources/OpenSwiftUICore/Layout/Stack/HVStack.swift @@ -50,15 +50,15 @@ extension HVStack { } public func makeCache(subviews: Subviews) -> Cache { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } public func updateCache(_ cache: inout Cache, subviews: Self.Subviews) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } public func spacing(subviews: Subviews, cache: inout Cache) -> ViewSpacing { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } public func sizeThatFits( @@ -66,7 +66,7 @@ extension HVStack { subviews: Self.Subviews, cache: inout Self.Cache ) -> CGSize { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } public func placeSubviews( @@ -75,7 +75,7 @@ extension HVStack { subviews: Self.Subviews, cache: inout Self.Cache ) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } public func explicitAlignment( @@ -85,7 +85,7 @@ extension HVStack { subviews: Self.Subviews, cache: inout Self.Cache ) -> CGFloat? { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } public func explicitAlignment( @@ -95,6 +95,6 @@ extension HVStack { subviews: Self.Subviews, cache: inout Self.Cache ) -> CGFloat? { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Layout/UnaryLayout.swift b/Sources/OpenSwiftUICore/Layout/UnaryLayout.swift index 9b16da4fb..204ba8f81 100644 --- a/Sources/OpenSwiftUICore/Layout/UnaryLayout.swift +++ b/Sources/OpenSwiftUICore/Layout/UnaryLayout.swift @@ -174,7 +174,7 @@ extension Layout { properties: LayoutProperties, list: Attribute ) -> _ViewOutputs { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Layout/View/ViewTransform.swift b/Sources/OpenSwiftUICore/Layout/View/ViewTransform.swift index 9d7e4f6c2..a78f1f538 100644 --- a/Sources/OpenSwiftUICore/Layout/View/ViewTransform.swift +++ b/Sources/OpenSwiftUICore/Layout/View/ViewTransform.swift @@ -299,35 +299,35 @@ public struct ViewTransform: Equatable, CustomStringConvertible { forEach(inverted: false) { item, stop in // TODO } - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } package func convert(_ conversion: ViewTransform.Conversion, _ body: (ViewTransform.Item) -> Void) { guard !isEmpty else { return } - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func convert(_ conversion: ViewTransform.Conversion, points: inout [CGPoint]) { guard !isEmpty else { return } - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func convert(_ conversion: ViewTransform.Conversion, point: CGPoint) -> CGPoint { guard !isEmpty else { return point } - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package var containingScrollGeometry: ScrollGeometry? { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package var nearestScrollGeometry: ScrollGeometry? { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func containingSizedCoordinateSpace(name: CoordinateSpace.Name) -> CGRect? { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } public var description: String { @@ -757,7 +757,7 @@ extension CGRect: ViewTransformable { transform.convert(.localToSpace(space)) { item in // TODO } - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Log/Logging.swift b/Sources/OpenSwiftUICore/Log/Logging.swift index b57210ba8..d2ba8faf9 100644 --- a/Sources/OpenSwiftUICore/Log/Logging.swift +++ b/Sources/OpenSwiftUICore/Log/Logging.swift @@ -214,39 +214,39 @@ extension os.OSLog { // MARK: - OpenSwiftUI addition: abstract and stub call @_transparent -package func openSwiftUIBaseClassAbstractMethod(_ function: String = #function, file: StaticString = #fileID, line: UInt = #line) -> Never { +package func _openSwiftUIBaseClassAbstractMethod(_ function: String = #function, file: StaticString = #fileID, line: UInt = #line) -> Never { preconditionFailure("", file: file, line: line) } @_transparent -package func openSwiftUIEmptyStub(_ function: String = #function, file: StaticString = #fileID, line: UInt = #line) { +package func _openSwiftUIEmptyStub(_ function: String = #function, file: StaticString = #fileID, line: UInt = #line) { // Intentionally empty - stub implementation } // MARK: - OpenSwiftUI addition: dev addition Log API @_transparent -package func openSwiftUIUnimplementedFailure(_ function: String = #function, file: StaticString = #fileID, line: UInt = #line) -> Never { +package func _openSwiftUIUnimplementedFailure(_ function: String = #function, file: StaticString = #fileID, line: UInt = #line) -> Never { preconditionFailure("TODO", file: file, line: line) } @_transparent -package func openSwiftUIPlatformUnimplementedFailure(_ function: String = #function, file: StaticString = #fileID, line: UInt = #line) -> Never { +package func _openSwiftUIPlatformUnimplementedFailure(_ function: String = #function, file: StaticString = #fileID, line: UInt = #line) -> Never { preconditionFailure("TODO", file: file, line: line) } @_transparent -package func openSwiftUIUnimplementedWarning(_ function: String = #function, file: StaticString = #fileID, line: UInt = #line) { +package func _openSwiftUIUnimplementedWarning(_ function: String = #function, file: StaticString = #fileID, line: UInt = #line) { print("[Warning]: \(function) is unimplemented") #if DEBUG && OPENSWIFTUI_DEVELOPMENT - openSwiftUIUnimplementedFailure(function, file: file, line: line) + _openSwiftUIUnimplementedFailure(function, file: file, line: line) #endif } @_transparent -package func openSwiftUIPlatformUnimplementedWarning(_ function: String = #function, file: StaticString = #fileID, line: UInt = #line) { +package func _openSwiftUIPlatformUnimplementedWarning(_ function: String = #function, file: StaticString = #fileID, line: UInt = #line) { print("[Warning]: \(function) is unimplemented on this platform") #if DEBUG && OPENSWIFTUI_DEVELOPMENT - openSwiftUIPlatformUnimplementedFailure(function, file: file, line: line) + _openSwiftUIPlatformUnimplementedFailure(function, file: file, line: line) #endif } diff --git a/Sources/OpenSwiftUICore/OpenGraph/OpenGraphAdditions.swift b/Sources/OpenSwiftUICore/OpenGraph/OpenGraphAdditions.swift index e5913e452..598f9ba39 100644 --- a/Sources/OpenSwiftUICore/OpenGraph/OpenGraphAdditions.swift +++ b/Sources/OpenSwiftUICore/OpenGraph/OpenGraphAdditions.swift @@ -78,7 +78,7 @@ extension Attribute { } package func invalidateValueIfNeeded() -> Bool { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func unsafeBitCast(to _: T.Type) -> Attribute { @@ -97,31 +97,31 @@ package protocol InvalidatableAttribute: _AttributeBody { extension AnyAttribute.Flags { package static var transactional: Subgraph.Flags { - get { openSwiftUIUnimplementedFailure() } + get { _openSwiftUIUnimplementedFailure() } } package static var removable: Subgraph.Flags { - get { openSwiftUIUnimplementedFailure() } + get { _openSwiftUIUnimplementedFailure() } } package static var invalidatable: Subgraph.Flags { - get { openSwiftUIUnimplementedFailure() } + get { _openSwiftUIUnimplementedFailure() } } package static var scrapeable: Subgraph.Flags { - get { openSwiftUIUnimplementedFailure() } + get { _openSwiftUIUnimplementedFailure() } } } extension Subgraph.ChildFlags { package static var secondary: Subgraph.ChildFlags { - get { openSwiftUIUnimplementedFailure() } + get { _openSwiftUIUnimplementedFailure() } } } extension Subgraph { package func addSecondaryChild(_ child: Subgraph) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func willRemove() { @@ -169,17 +169,17 @@ extension Attribute { } package func allowsAsyncUpdate() -> Bool { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } extension WeakAttribute { package var uncheckedIdentifier: Attribute { - get { openSwiftUIUnimplementedFailure() } + get { _openSwiftUIUnimplementedFailure() } } package func allowsAsyncUpdate() -> Bool { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } @@ -201,7 +201,7 @@ package struct TreeValueFlags: OptionSet { package let rawValue: UInt32 package init(rawValue: UInt32) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } // FIXME? @@ -276,7 +276,7 @@ private struct ToOptional: Rule, AsyncAttribute { extension Graph { @inline(__always) package static func cancelCurrentUpdateIfDeadlinePassed() -> Bool { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package static func startTracing(options: Graph.TraceOptions? = nil) { diff --git a/Sources/OpenSwiftUICore/Render/DisplayList/DisplayList.GraphicsRenderer.swift b/Sources/OpenSwiftUICore/Render/DisplayList/DisplayList.GraphicsRenderer.swift index 283c7755f..70a16adf5 100644 --- a/Sources/OpenSwiftUICore/Render/DisplayList/DisplayList.GraphicsRenderer.swift +++ b/Sources/OpenSwiftUICore/Render/DisplayList/DisplayList.GraphicsRenderer.swift @@ -42,31 +42,31 @@ extension DisplayList { package var platformViewMode: DisplayList.GraphicsRenderer.PlatformViewMode package init(platformViewMode: DisplayList.GraphicsRenderer.PlatformViewMode) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func render(at time: Time, do body: () -> Void) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func renderDisplayList(_ list: DisplayList, at time: Time, in ctx: inout GraphicsContext) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func render(list: DisplayList, in ctx: inout GraphicsContext) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func render(item: DisplayList.Item, in ctx: inout GraphicsContext) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func drawImplicitLayer(in ctx: inout GraphicsContext, content: (inout GraphicsContext) -> Void) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func renderPlatformView(_ view: AnyObject?, in ctx: GraphicsContext, size: CGSize, viewType: any Any.Type) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } } diff --git a/Sources/OpenSwiftUICore/Render/DisplayList/DisplayList.swift b/Sources/OpenSwiftUICore/Render/DisplayList/DisplayList.swift index 694b667a0..bc2b63271 100644 --- a/Sources/OpenSwiftUICore/Render/DisplayList/DisplayList.swift +++ b/Sources/OpenSwiftUICore/Render/DisplayList/DisplayList.swift @@ -91,13 +91,13 @@ package struct DisplayList: Equatable { } package mutating func append(_ item: Item) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package mutating func append(contentsOf other: DisplayList) { // TODO items.append(contentsOf: other.items) -// openSwiftUIUnimplementedFailure() +// _openSwiftUIUnimplementedFailure() } } @@ -392,16 +392,16 @@ extension DisplayList { } package mutating func skip(list: DisplayList) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package mutating func skip(item: Item) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package mutating func skip(effect: Effect) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func assertItem(_ item: Item) {} diff --git a/Sources/OpenSwiftUICore/Render/DisplayList/DisplayListViewRenderer.swift b/Sources/OpenSwiftUICore/Render/DisplayList/DisplayListViewRenderer.swift index 735b977d5..2bac2610a 100644 --- a/Sources/OpenSwiftUICore/Render/DisplayList/DisplayListViewRenderer.swift +++ b/Sources/OpenSwiftUICore/Render/DisplayList/DisplayListViewRenderer.swift @@ -173,7 +173,7 @@ extension DisplayList { var lastContentsScale: CGFloat init(platform: DisplayList.ViewUpdater.Platform, host: ViewRendererHost?, rootView: AnyObject, options: _RendererConfiguration.RasterizationOptions) { - openSwiftUIBaseClassAbstractMethod() + _openSwiftUIBaseClassAbstractMethod() } var exportedObject: AnyObject? { @@ -181,7 +181,7 @@ extension DisplayList { } func render(rootView: AnyObject, from list: DisplayList, time: Time, version: DisplayList.Version, maxVersion: DisplayList.Version, environment: DisplayList.ViewRenderer.Environment) -> Time { - // openSwiftUIUnimplementedFailure() + // _openSwiftUIUnimplementedFailure() if printTree == nil { printTree = ProcessEnvironment.bool(forKey: "OPENSWIFTUI_PRINT_TREE") } @@ -192,15 +192,15 @@ extension DisplayList { } func renderAsync(to list: DisplayList, time: Time, targetTimestamp: Time?, version: DisplayList.Version, maxVersion: DisplayList.Version) -> Time? { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } func destroy(rootView: AnyObject) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } var viewCacheIsEmpty: Bool { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } } diff --git a/Sources/OpenSwiftUICore/Render/DisplayList/DisplayListViewUpdater.swift b/Sources/OpenSwiftUICore/Render/DisplayList/DisplayListViewUpdater.swift index 9e8ba50c1..cd24a799b 100644 --- a/Sources/OpenSwiftUICore/Render/DisplayList/DisplayListViewUpdater.swift +++ b/Sources/OpenSwiftUICore/Render/DisplayList/DisplayListViewUpdater.swift @@ -28,7 +28,7 @@ extension DisplayList { var wasValid: Bool init() { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } func render(rootView: AnyObject, from list: DisplayList, time: Time, version: DisplayList.Version, maxVersion: DisplayList.Version, environment: DisplayList.ViewRenderer.Environment) -> Time { @@ -56,7 +56,7 @@ extension DisplayList { var platform: Platform { // TODO - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } var exportedObject: AnyObject? { diff --git a/Sources/OpenSwiftUICore/Render/DisplayList/DisplayList_StableIdentity.swift b/Sources/OpenSwiftUICore/Render/DisplayList/DisplayList_StableIdentity.swift index 23ea89764..d5ff001f5 100644 --- a/Sources/OpenSwiftUICore/Render/DisplayList/DisplayList_StableIdentity.swift +++ b/Sources/OpenSwiftUICore/Render/DisplayList/DisplayList_StableIdentity.swift @@ -41,7 +41,7 @@ final package class _DisplayList_StableIdentityRoot { if let map { return map[index] } else { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } } @@ -81,17 +81,17 @@ extension _DisplayList_StableIdentity: ProtobufMessage { } package init(from decoder: inout ProtobufDecoder) throws { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } extension _DisplayList_StableIdentityMap: ProtobufMessage { package func encode(to encoder: inout ProtobufEncoder) throws { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package init(from decoder: inout ProtobufDecoder) throws { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Render/PlatformViewDefinition.swift b/Sources/OpenSwiftUICore/Render/PlatformViewDefinition.swift index 71318776f..155dfee5a 100644 --- a/Sources/OpenSwiftUICore/Render/PlatformViewDefinition.swift +++ b/Sources/OpenSwiftUICore/Render/PlatformViewDefinition.swift @@ -50,18 +50,18 @@ open class PlatformViewDefinition: @unchecked Sendable { } open class var system: PlatformViewDefinition.System { .init(base: .swiftUIView) } - open class func makeView(kind: PlatformViewDefinition.ViewKind) -> AnyObject { openSwiftUIBaseClassAbstractMethod() } + open class func makeView(kind: PlatformViewDefinition.ViewKind) -> AnyObject { _openSwiftUIBaseClassAbstractMethod() } #if canImport(Darwin) - open class func makeLayerView(type: CALayer.Type, kind: PlatformViewDefinition.ViewKind) -> AnyObject { openSwiftUIBaseClassAbstractMethod() } + open class func makeLayerView(type: CALayer.Type, kind: PlatformViewDefinition.ViewKind) -> AnyObject { _openSwiftUIBaseClassAbstractMethod() } #endif - open class func makePlatformView(view: AnyObject, kind: PlatformViewDefinition.ViewKind) { openSwiftUIBaseClassAbstractMethod() } - open class func makeDrawingView(options: PlatformDrawableOptions) -> any PlatformDrawable { openSwiftUIBaseClassAbstractMethod() } - open class func setPath(_ path: Path, shapeView: AnyObject) { openSwiftUIBaseClassAbstractMethod() } - open class func setProjectionTransform(_ transform: ProjectionTransform, projectionView: AnyObject) { openSwiftUIBaseClassAbstractMethod() } - open class func getRBLayer(drawingView: AnyObject) -> AnyObject? { openSwiftUIBaseClassAbstractMethod() } - open class func setIgnoresEvents(_ state: Bool, of view: AnyObject) { openSwiftUIBaseClassAbstractMethod() } - open class func setAllowsWindowActivationEvents(_ value: Bool?, for view: AnyObject) { openSwiftUIBaseClassAbstractMethod() } - open class func setHitTestsAsOpaque(_ value: Bool, for view: AnyObject) { openSwiftUIBaseClassAbstractMethod() } + open class func makePlatformView(view: AnyObject, kind: PlatformViewDefinition.ViewKind) { _openSwiftUIBaseClassAbstractMethod() } + open class func makeDrawingView(options: PlatformDrawableOptions) -> any PlatformDrawable { _openSwiftUIBaseClassAbstractMethod() } + open class func setPath(_ path: Path, shapeView: AnyObject) { _openSwiftUIBaseClassAbstractMethod() } + open class func setProjectionTransform(_ transform: ProjectionTransform, projectionView: AnyObject) { _openSwiftUIBaseClassAbstractMethod() } + open class func getRBLayer(drawingView: AnyObject) -> AnyObject? { _openSwiftUIBaseClassAbstractMethod() } + open class func setIgnoresEvents(_ state: Bool, of view: AnyObject) { _openSwiftUIBaseClassAbstractMethod() } + open class func setAllowsWindowActivationEvents(_ value: Bool?, for view: AnyObject) { _openSwiftUIBaseClassAbstractMethod() } + open class func setHitTestsAsOpaque(_ value: Bool, for view: AnyObject) { _openSwiftUIBaseClassAbstractMethod() } } extension DisplayList.ViewUpdater { diff --git a/Sources/OpenSwiftUICore/Render/RendererLeafView.swift b/Sources/OpenSwiftUICore/Render/RendererLeafView.swift index 4d9812dde..f6e408fe9 100644 --- a/Sources/OpenSwiftUICore/Render/RendererLeafView.swift +++ b/Sources/OpenSwiftUICore/Render/RendererLeafView.swift @@ -22,7 +22,7 @@ extension RendererLeafView { } func contains(points: [PlatformPoint], size: CGSize) -> BitVector64 { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package static func makeLeafView(view: _GraphValue, inputs: _ViewInputs) -> _ViewOutputs { diff --git a/Sources/OpenSwiftUICore/Shape/InsettableShape.swift b/Sources/OpenSwiftUICore/Shape/InsettableShape.swift index ddcf04430..489f7516f 100644 --- a/Sources/OpenSwiftUICore/Shape/InsettableShape.swift +++ b/Sources/OpenSwiftUICore/Shape/InsettableShape.swift @@ -140,7 +140,7 @@ extension RoundedRectangle: InsettableShape { @usableFromInline nonisolated func path(in rect: CGRect) -> Path { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } @usableFromInline @@ -187,7 +187,7 @@ extension UnevenRoundedRectangle: InsettableShape { @usableFromInline nonisolated func path(in rect: CGRect) -> Path { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } @usableFromInline @@ -226,7 +226,7 @@ extension Capsule: InsettableShape { @usableFromInline nonisolated func path(in rect: CGRect) -> Path { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } @usableFromInline @@ -285,7 +285,7 @@ extension Ellipse: InsettableShape { @usableFromInline nonisolated func path(in rect: CGRect) -> Path { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } @usableFromInline @@ -329,7 +329,7 @@ extension Circle: InsettableShape { @usableFromInline nonisolated func path(in rect: CGRect) -> Path { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } @usableFromInline diff --git a/Sources/OpenSwiftUICore/Shape/Path.swift b/Sources/OpenSwiftUICore/Shape/Path.swift index 6842b33f2..f819bb837 100644 --- a/Sources/OpenSwiftUICore/Shape/Path.swift +++ b/Sources/OpenSwiftUICore/Shape/Path.swift @@ -40,14 +40,14 @@ public struct Path: Equatable, LosslessStringConvertible, @unchecked Sendable { init(_ path: CGPath) { kind = .cgPath //data = PathData(path) - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } #endif package init(takingPath path: OBPath) { kind = .obPath //data = PathData(path) - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } #if canImport(CoreGraphics) @@ -57,7 +57,7 @@ public struct Path: Equatable, LosslessStringConvertible, @unchecked Sendable { case .cgPath: // data.cgPath // let rbPath = OBPathMakeWithCGPath - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() case .obPath: obPath = data.obPath.assumingMemoryBound(to: OBPath.self).pointee case .buffer: @@ -71,7 +71,7 @@ public struct Path: Equatable, LosslessStringConvertible, @unchecked Sendable { @usableFromInline package static func == (lhs: PathBox, rhs: PathBox) -> Bool { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } @@ -130,7 +130,7 @@ public struct Path: Equatable, LosslessStringConvertible, @unchecked Sendable { return } storage = .path(PathBox(path.mutableCopy()!)) - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } #endif @@ -224,7 +224,7 @@ public struct Path: Equatable, LosslessStringConvertible, @unchecked Sendable { storage = .empty return } - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } /// Creates a path as an ellipse within the given rectangle. @@ -284,7 +284,7 @@ public struct Path: Equatable, LosslessStringConvertible, @unchecked Sendable { return nil } storage = .path(PathBox(mutablePath)) - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() #else return nil #endif @@ -293,27 +293,27 @@ public struct Path: Equatable, LosslessStringConvertible, @unchecked Sendable { /// A description of the path that may be used to recreate the path /// via `init?(_:)`. public var description: String { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } #if canImport(CoreGraphics) /// An immutable path representing the elements in the path. public var cgPath: CGPath { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } #endif package func retainOBPath() -> OBPath { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package mutating func withMutableBuffer(do body: (UnsafeMutableRawPointer) -> Void) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } /// A Boolean value indicating whether the path contains zero elements. public var isEmpty: Bool { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } /// A rectangle containing all path segments. @@ -322,7 +322,7 @@ public struct Path: Equatable, LosslessStringConvertible, @unchecked Sendable { /// in the path but not including control points for Bézier /// curves. public var boundingRect: CGRect { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } /// Returns true if the path contains a specified point. @@ -330,11 +330,11 @@ public struct Path: Equatable, LosslessStringConvertible, @unchecked Sendable { /// If `eoFill` is true, this method uses the even-odd rule to define which /// points are inside the path. Otherwise, it uses the non-zero rule. public func contains(_ p: CGPoint, eoFill: Bool = false) -> Bool { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func contains(points: [CGPoint], eoFill: Bool = false, origin: CGPoint = .zero) -> BitVector64 { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } /// An element of a path. @@ -369,13 +369,13 @@ public struct Path: Equatable, LosslessStringConvertible, @unchecked Sendable { /// Calls `body` with each element in the path. public func forEach(_ body: (Path.Element) -> Void) { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } /// Returns a stroked copy of the path using `style` to define how the /// stroked outline is created. public func strokedPath(_ style: StrokeStyle) -> Path { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } /// Returns a partial copy of the path. @@ -384,15 +384,15 @@ public struct Path: Equatable, LosslessStringConvertible, @unchecked Sendable { /// which must be fractions between zero and one defining points /// linearly-interpolated along the path. public func trimmedPath(from: CGFloat, to: CGFloat) -> Path { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func rect() -> CGRect? { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func roundedRect() -> FixedRoundedRect? { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } @@ -416,11 +416,11 @@ extension Path: Shape { extension Path: ProtobufMessage { package func encode(to encoder: inout ProtobufEncoder) throws { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package init(from decoder: inout ProtobufDecoder) throws { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Shape/RoundedCorner.swift b/Sources/OpenSwiftUICore/Shape/RoundedCorner.swift index c1b1df6bf..579130cf1 100644 --- a/Sources/OpenSwiftUICore/Shape/RoundedCorner.swift +++ b/Sources/OpenSwiftUICore/Shape/RoundedCorner.swift @@ -74,7 +74,7 @@ package struct FixedRoundedRect: Equatable { package func contains(_ point: CGPoint) -> Bool { // TODO: OBPath - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } package func applying(_ m: CGAffineTransform) -> FixedRoundedRect { @@ -144,7 +144,7 @@ package struct FixedRoundedRect: Equatable { #if canImport(CoreGraphics) package var cgPath: CGPath { - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } #endif diff --git a/Sources/OpenSwiftUICore/Shape/Shape.swift b/Sources/OpenSwiftUICore/Shape/Shape.swift index edb788b64..ac59f5499 100644 --- a/Sources/OpenSwiftUICore/Shape/Shape.swift +++ b/Sources/OpenSwiftUICore/Shape/Shape.swift @@ -105,7 +105,7 @@ extension Shape { package func effectivePath(in rect: CGRect) -> Path { // _threadGeometryProxyData - openSwiftUIUnimplementedFailure() + _openSwiftUIUnimplementedFailure() } } diff --git a/Sources/OpenSwiftUICore/Shape/ShapeStyle/BlendMode.swift b/Sources/OpenSwiftUICore/Shape/ShapeStyle/BlendMode.swift index 9dfb41c1c..a1b90cc99 100644 --- a/Sources/OpenSwiftUICore/Shape/ShapeStyle/BlendMode.swift +++ b/Sources/OpenSwiftUICore/Shape/ShapeStyle/BlendMode.swift @@ -116,7 +116,7 @@ public struct _BlendModeShapeStyle