Skip to content

Commit 3b2ba65

Browse files
committed
WIP
1 parent 76dc7cd commit 3b2ba65

Some content is hidden

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

48 files changed

+73
-73
lines changed

Sources/ViewTypes/Button.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public struct ButtonType: IntrospectableViewType {}
3131

3232
#if !os(iOS) && !os(tvOS) && !os(visionOS)
3333
extension IntrospectableViewType where Self == ButtonType {
34-
@MainActor public static var button: Self { .init() }
34+
public static var button: Self { .init() }
3535
}
3636

3737
#if canImport(AppKit) && !targetEnvironment(macCatalyst)

Sources/ViewTypes/ColorPicker.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public struct ColorPickerType: IntrospectableViewType {}
5555

5656
#if !os(tvOS)
5757
extension IntrospectableViewType where Self == ColorPickerType {
58-
@MainActor public static var colorPicker: Self { .init() }
58+
public static var colorPicker: Self { .init() }
5959
}
6060

6161
#if canImport(UIKit)

Sources/ViewTypes/DatePicker.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public struct DatePickerType: IntrospectableViewType {}
5353

5454
#if !os(tvOS)
5555
extension IntrospectableViewType where Self == DatePickerType {
56-
@MainActor public static var datePicker: Self { .init() }
56+
public static var datePicker: Self { .init() }
5757
}
5858

5959
#if canImport(UIKit)

Sources/ViewTypes/DatePickerWithCompactStyle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public struct DatePickerWithCompactStyleType: IntrospectableViewType {
6262

6363
#if !os(tvOS)
6464
extension IntrospectableViewType where Self == DatePickerWithCompactStyleType {
65-
@MainActor public static func datePicker(style: Self.Style) -> Self { .init() }
65+
public static func datePicker(style: Self.Style) -> Self { .init() }
6666
}
6767

6868
#if canImport(UIKit)

Sources/ViewTypes/DatePickerWithFieldStyle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public struct DatePickerWithFieldStyleType: IntrospectableViewType {
3838

3939
#if !os(iOS) && !os(tvOS) && !os(visionOS)
4040
extension IntrospectableViewType where Self == DatePickerWithFieldStyleType {
41-
@MainActor public static func datePicker(style: Self.Style) -> Self { .init() }
41+
public static func datePicker(style: Self.Style) -> Self { .init() }
4242
}
4343

4444
#if canImport(AppKit) && !targetEnvironment(macCatalyst)

Sources/ViewTypes/DatePickerWithGraphicalStyle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public struct DatePickerWithGraphicalStyleType: IntrospectableViewType {
6262

6363
#if !os(tvOS)
6464
extension IntrospectableViewType where Self == DatePickerWithGraphicalStyleType {
65-
@MainActor public static func datePicker(style: Self.Style) -> Self { .init() }
65+
public static func datePicker(style: Self.Style) -> Self { .init() }
6666
}
6767

6868
#if canImport(UIKit)

Sources/ViewTypes/DatePickerWithStepperFieldStyle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public struct DatePickerWithStepperFieldStyleType: IntrospectableViewType {
3838

3939
#if !os(iOS) && !os(tvOS) && !os(visionOS)
4040
extension IntrospectableViewType where Self == DatePickerWithStepperFieldStyleType {
41-
@MainActor public static func datePicker(style: Self.Style) -> Self { .init() }
41+
public static func datePicker(style: Self.Style) -> Self { .init() }
4242
}
4343

4444
#if canImport(AppKit) && !targetEnvironment(macCatalyst)

Sources/ViewTypes/DatePickerWithWheelStyle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public struct DatePickerWithWheelStyleType: IntrospectableViewType {
5050

5151
#if !os(tvOS) && !os(macOS)
5252
extension IntrospectableViewType where Self == DatePickerWithWheelStyleType {
53-
@MainActor public static func datePicker(style: Self.Style) -> Self { .init() }
53+
public static func datePicker(style: Self.Style) -> Self { .init() }
5454
}
5555

5656
#if canImport(UIKit)

Sources/ViewTypes/Form.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public struct FormType: IntrospectableViewType {}
6464

6565
#if !os(macOS)
6666
extension IntrospectableViewType where Self == FormType {
67-
@MainActor public static var form: Self { .init() }
67+
public static var form: Self { .init() }
6868
}
6969

7070
#if canImport(UIKit)

Sources/ViewTypes/FormWithGroupedStyle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public struct FormWithGroupedStyleType: IntrospectableViewType {
8181
}
8282

8383
extension IntrospectableViewType where Self == FormWithGroupedStyleType {
84-
@MainActor public static func form(style: Self.Style) -> Self { .init() }
84+
public static func form(style: Self.Style) -> Self { .init() }
8585
}
8686

8787
#if canImport(UIKit)

0 commit comments

Comments
 (0)