Skip to content

Commit 724907a

Browse files
committed
Remove internal since it is default
1 parent d670436 commit 724907a

File tree

64 files changed

+75
-75
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+75
-75
lines changed

Sources/OpenSwiftUI/App/AppGraph.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import Glibc
1313
#elseif os(WASI)
1414
import WASILibc
1515
#endif
16-
internal import OpenGraphShims
16+
import OpenGraphShims
1717
@_spi(ForOpenSwiftUIOnly) package import OpenSwiftUICore
1818

1919
package final class AppGraph: GraphHost {

Sources/OpenSwiftUI/App/OpenSwiftUIApplication.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Status: WIP
77
// ID: ACC2C5639A7D76F611E170E831FCA491
88

9-
@_spi(ForOpenSwiftUIOnly) internal import OpenSwiftUICore
9+
@_spi(ForOpenSwiftUIOnly) import OpenSwiftUICore
1010

1111
#if os(iOS) || os(tvOS)
1212
import UIKit

Sources/OpenSwiftUI/Core/Render/DisplayLink.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import UIKit
1414
import AppKit
1515
#endif
1616

17-
@_spi(ForOpenSwiftUIOnly) internal import OpenSwiftUICore
17+
@_spi(ForOpenSwiftUIOnly) import OpenSwiftUICore
1818

1919
final class DisplayLink: NSObject {
2020
private weak var host: AnyUIHostingView?

Sources/OpenSwiftUI/EventHandling/Focus/FocusStoreLocation.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@_spi(ForOpenSwiftUIOnly) internal import OpenSwiftUICore
1+
@_spi(ForOpenSwiftUIOnly) import OpenSwiftUICore
22

33
class FocusStoreLocation<A: Hashable>: AnyLocation<A>, @unchecked Sendable {
44
override var wasRead: Bool {

Sources/OpenSwiftUI/Integration/Representable/Platform/PlatformViewRepresentable.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import Foundation
1616
typealias PlatformView = Void
1717
#endif
1818

19-
internal import OpenSwiftUICore
19+
import OpenSwiftUICore
2020

2121
protocol PlatformViewRepresentable: View {
2222
associatedtype PlatformViewProvider

Sources/OpenSwiftUI/Integration/UIKit/AnyUIHostingView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#if os(iOS)
99

10-
@_spi(ForOpenSwiftUIOnly) internal import OpenSwiftUICore
10+
@_spi(ForOpenSwiftUIOnly) import OpenSwiftUICore
1111

1212
protocol AnyUIHostingView: AnyObject {
1313
func displayLinkTimer(timestamp: Time, isAsyncThread: Bool)

Sources/OpenSwiftUI/Integration/UIKit/UIGraphicsView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Status: Complete
77

88
#if os(iOS)
9-
internal import OpenSwiftUI_SPI
9+
import OpenSwiftUI_SPI
1010
import UIKit
1111

1212
class _UIGraphicsView: UIView {

Sources/OpenSwiftUI/Render/UIViewPlatformViewDefinition.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Audited for RELEASE_2024
66
// Status: WIP
77

8-
@_spi(DisplayList_ViewSystem) internal import OpenSwiftUICore
8+
@_spi(DisplayList_ViewSystem) import OpenSwiftUICore
99

1010
final class UIViewPlatformViewDefinition: PlatformViewDefinition, @unchecked Sendable {
1111
override final class var system: PlatformViewDefinition.System { .uiView }

Sources/OpenSwiftUI/Test/TestIDView.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// Audited for RELEASE_2021
66
// Status: WIP
77

8-
internal import OpenGraphShims
9-
internal import OpenSwiftUICore
8+
import OpenGraphShims
9+
import OpenSwiftUICore
1010

1111
struct TestIDView<Content, ID>: PrimitiveView, UnaryView {
1212
var content: Content

Sources/OpenSwiftUI/Test/_PerformanceTest.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import UIKit
1111
import AppKit
1212
#endif
1313

14-
internal import OpenSwiftUI_SPI
14+
import OpenSwiftUI_SPI
1515

1616
public protocol _PerformanceTest: _Test {
1717
var name: String { get }

Sources/OpenSwiftUI/View/Control/Button/ButtonStyle/ButtonDefaultRenderingModeModifier.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Status: Complete
77
// ID: 6C985860B64B768EC9A2691B5DBA71A0
88

9-
internal import OpenSwiftUI_SPI
9+
import OpenSwiftUI_SPI
1010

1111
extension View {
1212
func buttonDefaultRenderingMode() -> some View {

Sources/OpenSwiftUICore/Data/BodyAccessor/BodyAccessor.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Audited for RELEASE_2021
66
// Status: Complete
77

8-
internal import OpenGraphShims
8+
import OpenGraphShims
99

1010
package protocol BodyAccessor<Container, Body> {
1111
associatedtype Container

Sources/OpenSwiftUICore/Data/DynamicProperty/DynamicProperty.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// ID: 49D2A32E637CD497C6DE29B8E060A506 (RELEASE_2021)
88
// ID: A4C1D658B3717A3062FEFC91A812D6EB (RELEASE_2024)
99

10-
internal import OpenGraphShims
10+
import OpenGraphShims
1111

1212
// MARK: - DynamicProperty
1313

Sources/OpenSwiftUICore/Data/DynamicProperty/DynamicPropertyBuffer.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Status: Complete
77
// ID: 68550FF604D39F05971FE35A26EE75B0
88

9-
internal import OpenGraphShims
9+
import OpenGraphShims
1010

1111
private let nullPtr: UnsafeMutableRawPointer = Unmanaged.passUnretained(unsafeBitCast(0, to: AnyObject.self)).toOpaque()
1212

Sources/OpenSwiftUICore/Data/Environment/Environment.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Status: Complete
77
// ID: 7B48F30970137591804EEB8D0D309152
88

9-
internal import OpenGraphShims
9+
import OpenGraphShims
1010
#if OPENSWIFTUI_SWIFT_LOG
1111
public import Logging
1212
#else

Sources/OpenSwiftUICore/Data/Environment/EnvironmentKey.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Audited for RELEASE_2024
66
// Status: Complete
77

8-
internal import OpenGraphShims
8+
import OpenGraphShims
99

1010
public protocol EnvironmentKey {
1111
associatedtype Value

Sources/OpenSwiftUICore/Data/Environment/EnvironmentKeyTransformModifier.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Status: Blocked by syncMainIfReferences
77
// ID: 1DBD4F024EFF0E73A70DB6DD05D5B548
88

9-
internal import OpenGraphShims
9+
import OpenGraphShims
1010

1111
@frozen
1212
public struct _EnvironmentKeyTransformModifier<Value>: PrimitiveViewModifier, _GraphInputsModifier {

Sources/OpenSwiftUICore/Data/Other/2021/LockedPointer.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#if OPENSWIFTUI_RELEASE_2021
99

10-
internal import OpenSwiftUI_SPI
10+
import OpenSwiftUI_SPI
1111

1212
package extension LockedPointer {
1313
@_transparent

Sources/OpenSwiftUICore/Data/Other/2021/UnsafeAtomicLazy.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#if OPENSWIFTUI_RELEASE_2021
99

10-
internal import OpenSwiftUI_SPI
10+
import OpenSwiftUI_SPI
1111

1212
package struct UnsafeAtomicLazy<Data>: Destroyable {
1313
@UnsafeLockedPointer

Sources/OpenSwiftUICore/Data/Other/2021/UnsafeLockedPointer.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#if OPENSWIFTUI_RELEASE_2021
99

10-
internal import OpenSwiftUI_SPI
10+
import OpenSwiftUI_SPI
1111

1212
@propertyWrapper
1313
package struct UnsafeLockedPointer<Data>: Destroyable {

Sources/OpenSwiftUICore/Data/Other/UniqueID.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Audited for RELEASE_2024
66
// Status: Complete
77

8-
internal import OpenGraphShims
8+
import OpenGraphShims
99

1010
package struct UniqueID: Hashable {
1111
@inlinable

Sources/OpenSwiftUICore/Data/Preference/PreferenceBridge.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// ID: A9FAE381E99529D5274BA37A9BC9B074 (RELEASE_2021)
88
// ID: DF57A19C61B44C613EB77C1D47FC679A (RELEASE_2024)
99

10-
internal import OpenGraphShims
10+
import OpenGraphShims
1111

1212
package final class PreferenceBridge {
1313
weak var viewGraph: ViewGraph?

Sources/OpenSwiftUICore/Data/Preference/PreferencesCombiner.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Status: Complete
77
// ID: 59D15989E597719355BF0EAE6CB41FF9
88

9-
internal import OpenGraphShims
9+
import OpenGraphShims
1010

1111
struct PreferenceCombiner<Key: PreferenceKey>: Rule, AsyncAttribute {
1212
var attributes: [WeakAttribute<Key.Value>]

Sources/OpenSwiftUICore/Data/Preference/PreferencesInputs.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Audited for RELEASE_2021
66
// Status: Complete
77

8-
internal import OpenGraphShims
8+
import OpenGraphShims
99

1010
struct PreferencesInputs {
1111
private(set) var keys: PreferenceKeys

Sources/OpenSwiftUICore/Data/Preference/PreferencesOutputs.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Status: Complete
77
// ID: A948213B3F0A65E8491149A582CA5C71
88

9-
internal import OpenGraphShims
9+
import OpenGraphShims
1010

1111
struct PreferencesOutputs {
1212
private var preferences: [KeyValue] = []

Sources/OpenSwiftUICore/Data/Property/PropertyKey.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Audited for RELEASE_2024
66
// Status: Complete
77

8-
internal import OpenGraphShims
8+
import OpenGraphShims
99

1010
package protocol PropertyKey {
1111
associatedtype Value

Sources/OpenSwiftUICore/Data/Property/PropertyList.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
// ID: 2B32D570B0B3D2A55DA9D4BFC1584D20 (RELEASE_2021)
88
// ID: D64CE6C88E7413721C59A34C0C940F2C (RELEASE_2024)
99

10-
internal import OpenSwiftUI_SPI
11-
internal import OpenGraphShims
10+
import OpenSwiftUI_SPI
11+
import OpenGraphShims
1212

1313
// MARK: - PropertyList
1414

Sources/OpenSwiftUICore/Data/State/ConstantLocation.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Audited for RELEASE_2021
66
// Status: Complete
77

8-
internal import OpenGraphShims
8+
import OpenGraphShims
99

1010
struct ConstantLocation<Value>: Location {
1111
var value: Value

Sources/OpenSwiftUICore/Data/State/FunctionalLocation.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Audited for RELEASE_2021
66
// Status: Complete
77

8-
internal import OpenGraphShims
8+
import OpenGraphShims
99

1010
struct FunctionalLocation<Value>: Location {
1111
var getValue: () -> Value

Sources/OpenSwiftUICore/Data/State/ObservableObjectLocation.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import OpenCombine
1010
#else
1111
import Combine
1212
#endif
13-
internal import OpenSwiftUI_SPI
13+
import OpenSwiftUI_SPI
1414

1515
struct ObservableObjectLocation<Root, Value>: Location where Root: ObservableObject {
1616
let base: Root

Sources/OpenSwiftUICore/Data/State/State.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Status: Complete
77
// ID: 08168374F4710A99DCB15B5E8768D632
88

9-
internal import OpenGraphShims
9+
import OpenGraphShims
1010

1111
/// A property wrapper type that can read and write a value managed by OpenSwiftUI.
1212
///

Sources/OpenSwiftUICore/Data/State/StoredLocation.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
// ID: EBDC911C9EE054BAE3D86F947C24B7C3 (RELEASE_2021)
88
// ID: 4F21368B1C1680817451AC25B55A8D48 (RELEASE_2024)
99

10-
internal import OpenGraphShims
11-
internal import OpenSwiftUI_SPI
10+
import OpenGraphShims
11+
import OpenSwiftUI_SPI
1212

1313
package class StoredLocationBase<Value>: AnyLocation<Value>, Location, @unchecked Sendable {
1414
private struct Data {

Sources/OpenSwiftUICore/Data/StrongHash.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
// Status: Blocked by OGTypeGetSignature and RBUUID
77

88
#if OPENSWIFTUI_SWIFT_CRYPTO
9-
internal import Crypto
9+
import Crypto
1010
#elseif canImport(CommonCrypto)
11-
internal import CommonCrypto
11+
import CommonCrypto
1212
#endif
1313

1414
import Foundation

Sources/OpenSwiftUICore/Data/Transaction/Transaction.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
// Status: WIP
77
// ID: B2543BCA257433E04979186A1DC2B6BC
88

9-
internal import OpenGraphShims
10-
internal import OpenSwiftUI_SPI
9+
import OpenGraphShims
10+
import OpenSwiftUI_SPI
1111

1212
/// The context of the current state-processing update.
1313
///

Sources/OpenSwiftUICore/Data/Update.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
// ID: EA173074DA35FA471DC70643259B7E74 (RELEASE_2021)
88
// ID: 61534957AEEC2EDC447ABDC13B4D426F (RELEASE_2024)
99

10-
internal import OpenSwiftUI_SPI
11-
internal import OpenGraphShims
10+
import OpenSwiftUI_SPI
11+
import OpenGraphShims
1212
import Foundation
1313

1414
package enum Update {

Sources/OpenSwiftUICore/EventHandling/InputEvent/HitTesting/ContentResponder.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Status: WIP
77

88
import Foundation
9-
internal import OpenSwiftUI_SPI
9+
import OpenSwiftUI_SPI
1010

1111
protocol ContentResponder {
1212
func contains(points: [CGPoint], size: CGSize) -> BitVector64
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
internal import OpenGraphShims
1+
import OpenGraphShims
22

33
extension Graph {}

Sources/OpenSwiftUICore/Graph/GraphHost.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// ID: 30C09FF16BC95EC5173809B57186CAC3 (RELEASE_2021)
88
// ID: F9F204BD2F8DB167A76F17F3FB1B3335 (RELEASE_2024)
99

10-
internal import OpenSwiftUI_SPI
10+
import OpenSwiftUI_SPI
1111
package import OpenGraphShims
1212
import Foundation
1313

Sources/OpenSwiftUICore/Graph/ReuseTrace.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Audited for RELEASE_2024
66
// Status: WIP
77

8-
internal import OpenGraphShims
8+
import OpenGraphShims
99

1010
package struct ReuseTrace {
1111
package static func register(graph: Graph) {

Sources/OpenSwiftUICore/Graphic/Color/ColorResolved.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ package import Foundation
1010
#else
1111
import Foundation
1212
#endif
13-
internal import OpenSwiftUI_SPI
13+
import OpenSwiftUI_SPI
1414

1515
// MARK: - Color.Resolved
1616

Sources/OpenSwiftUICore/Graphic/Color/CoreColor+Extension.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#if canImport(Darwin)
99
package import Foundation
10-
internal import OpenSwiftUI_SPI
10+
import OpenSwiftUI_SPI
1111

1212
extension CoreColor {
1313
package static func platformColor(resolvedColor: Color.Resolved) -> NSObject? {

Sources/OpenSwiftUICore/Layout/LayoutFundamentals/internal/ViewGeometry.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Status: Complete
77

88
import Foundation
9-
internal import OpenGraphShims
9+
import OpenGraphShims
1010

1111
struct ViewGeometry: Equatable {
1212
var origin: ViewOrigin

Sources/OpenSwiftUICore/Log/Signpost.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
// ID: 34756F646CF7AC3DBE2A8E0B344C962F (RELEASE_2021)
88
// ID: 59349949219F590F26B6A55CEC9D59A2 (RELEASE_2024)
99

10-
internal import OpenSwiftUI_SPI
11-
internal import OpenGraphShims
10+
import OpenSwiftUI_SPI
11+
import OpenGraphShims
1212
#if canImport(Darwin)
1313
package import os.signpost
1414
#endif

0 commit comments

Comments
 (0)