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
2 changes: 1 addition & 1 deletion Scripts/openswiftui_swiftinterface.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ OPENSWIFTUI_ROOT="$(dirname $(dirname $(filepath $0)))"

cd $OPENSWIFTUI_ROOT

swift build -Xswiftc -emit-module-interface -Xswiftc -enable-library-evolution
swift build -Xswiftc -emit-module-interface -Xswiftc -enable-library-evolution -Xswiftc -no-verify-emitted-module-interface
4 changes: 0 additions & 4 deletions Sources/OpenSwiftUICore/Data/Environment/EnvironmentKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ public protocol EnvironmentKey {

static var defaultValue: Value { get }

#if OPENSWIFTUI_SUPPORT_2022_API
static func _valuesEqual(_ lhs: Self.Value, _ rhs: Self.Value) -> Bool
#endif
}

#if OPENSWIFTUI_SUPPORT_2022_API
extension EnvironmentKey {
public static func _valuesEqual(_ lhs: Self.Value, _ rhs: Self.Value) -> Bool {
compareValues(lhs, rhs)
Expand All @@ -29,7 +26,6 @@ extension EnvironmentKey where Value: Equatable {
lhs == rhs
}
}
#endif

package protocol DerivedEnvironmentKey {
associatedtype Value: Equatable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
// Audited for iOS 15.5
// Status: WIP

import Foundation
package import Foundation
import OpenSwiftUI_SPI

protocol ContentResponder {
package protocol ContentResponder {
func contains(points: [CGPoint], size: CGSize) -> BitVector64
func contentPath(size: CGSize) -> Path
func contentPath(size: CGSize, kind: ContentShapeKinds) -> Path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ public enum ColorRenderingMode: Sendable {
case extendedLinear
}

extension ColorRenderingMode: Equatable {}
extension ColorRenderingMode: Hashable {}

extension ColorRenderingMode: ProtobufEnum {
package var protobufValue: UInt {
switch self {
Expand Down
Loading
Loading