Skip to content

Commit b4d6124

Browse files
committed
wip xcode 15
1 parent 8867794 commit b4d6124

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/Introspect.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ extension View {
4040
/// }
4141
/// }
4242
/// ```
43+
@MainActor
4344
public func introspect<SwiftUIViewType: IntrospectableViewType, PlatformSpecificEntity: PlatformEntity>(
4445
_ viewType: SwiftUIViewType,
4546
on platforms: (PlatformViewVersionPredicate<SwiftUIViewType, PlatformSpecificEntity>)...,
@@ -56,6 +57,7 @@ struct IntrospectModifier<SwiftUIViewType: IntrospectableViewType, PlatformSpeci
5657
let selector: IntrospectionSelector<PlatformSpecificEntity>?
5758
let customize: (PlatformSpecificEntity) -> Void
5859

60+
@MainActor
5961
init(
6062
_ viewType: SwiftUIViewType,
6163
platforms: [PlatformViewVersionPredicate<SwiftUIViewType, PlatformSpecificEntity>],

0 commit comments

Comments
 (0)