Skip to content

Commit dbd832b

Browse files
committed
WIP
1 parent 21bdb81 commit dbd832b

21 files changed

+35
-35
lines changed

Sources/ViewTypes/Button.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#if !os(watchOS)
2-
import SwiftUI
2+
public import SwiftUI
33

44
/// An abstract representation of the `Button` type in SwiftUI.
55
///

Sources/ViewTypes/DatePickerWithFieldStyle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#if !os(watchOS)
2-
import SwiftUI
2+
public import SwiftUI
33

44
/// An abstract representation of the `DatePicker` type in SwiftUI, with `.field` style.
55
///

Sources/ViewTypes/DatePickerWithStepperFieldStyle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#if !os(watchOS)
2-
import SwiftUI
2+
public import SwiftUI
33

44
/// An abstract representation of the `DatePicker` type in SwiftUI, with `.stepperField` style.
55
///

Sources/ViewTypes/DatePickerWithWheelStyle.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#if !os(watchOS)
2-
public import SwiftUI
3-
42
/// An abstract representation of the `DatePicker` type in SwiftUI, with `.wheel` style.
53
///
64
/// ### iOS
@@ -54,6 +52,8 @@ extension IntrospectableViewType where Self == DatePickerWithWheelStyleType {
5452
}
5553

5654
#if canImport(UIKit)
55+
public import UIKit
56+
5757
extension iOSViewVersion<DatePickerWithWheelStyleType, UIDatePicker> {
5858
public static let v13 = Self(for: .v13)
5959
public static let v14 = Self(for: .v14)

Sources/ViewTypes/Form.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#if !os(watchOS)
2-
public import SwiftUI
3-
42
/// An abstract representation of the `Form` type in SwiftUI.
53
///
64
/// ### iOS
@@ -68,6 +66,8 @@ extension IntrospectableViewType where Self == FormType {
6866
}
6967

7068
#if canImport(UIKit)
69+
public import UIKit
70+
7171
extension iOSViewVersion<FormType, UITableView> {
7272
public static let v13 = Self(for: .v13)
7373
public static let v14 = Self(for: .v14)

Sources/ViewTypes/FullScreenCover.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#if !os(watchOS)
2-
public import SwiftUI
3-
42
/// An abstract representation of `.fullScreenCover` in SwiftUI.
53
///
64
/// ### iOS
@@ -70,6 +68,8 @@ extension IntrospectableViewType where Self == FullScreenCoverType {
7068
}
7169

7270
#if canImport(UIKit)
71+
public import UIKit
72+
7373
extension iOSViewVersion<FullScreenCoverType, UIPresentationController> {
7474
@available(*, unavailable, message: ".fullScreenCover isn't available on iOS 13")
7575
public static let v13 = Self.unavailable()

Sources/ViewTypes/ListWithBorderedStyle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#if !os(watchOS)
2-
import SwiftUI
2+
public import SwiftUI
33

44
/// An abstract representation of the `List` type in SwiftUI, with `.bordered` style.
55
///

Sources/ViewTypes/ListWithGroupedStyle.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#if !os(watchOS)
2-
public import SwiftUI
3-
42
/// An abstract representation of the `List` type in SwiftUI, with `.grouped` style.
53
///
64
/// ### iOS
@@ -75,6 +73,8 @@ extension IntrospectableViewType where Self == ListWithGroupedStyleType {
7573
}
7674

7775
#if canImport(UIKit)
76+
public import UIKit
77+
7878
extension iOSViewVersion<ListWithGroupedStyleType, UITableView> {
7979
public static let v13 = Self(for: .v13)
8080
public static let v14 = Self(for: .v14)

Sources/ViewTypes/ListWithInsetGroupedStyle.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#if !os(watchOS)
2-
public import SwiftUI
3-
42
/// An abstract representation of the `List` type in SwiftUI, with `.insetGrouped` style.
53
///
64
/// ### iOS
@@ -61,6 +59,8 @@ extension IntrospectableViewType where Self == ListWithInsetGroupedStyleType {
6159
}
6260

6361
#if canImport(UIKit)
62+
public import UIKit
63+
6464
extension iOSViewVersion<ListWithInsetGroupedStyleType, UITableView> {
6565
@available(*, unavailable, message: ".listStyle(.insetGrouped) isn't available on iOS 13")
6666
public static let v13 = Self(for: .v13)

Sources/ViewTypes/NavigationStack.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#if !os(watchOS)
2-
public import SwiftUI
3-
42
/// An abstract representation of the `NavigationStack` type in SwiftUI.
53
///
64
/// ### iOS
@@ -58,6 +56,8 @@ extension IntrospectableViewType where Self == NavigationStackType {
5856
}
5957

6058
#if canImport(UIKit)
59+
public import UIKit
60+
6161
extension iOSViewVersion<NavigationStackType, UINavigationController> {
6262
@available(*, unavailable, message: "NavigationStack isn't available on iOS 13")
6363
public static let v13 = Self.unavailable()

0 commit comments

Comments
 (0)