Skip to content

Commit db85feb

Browse files
committed
UIKit: add support for swift 6 concurrency.
Signed-off-by: furby™ <devs@wabi.foundation>
1 parent 0d34485 commit db85feb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/UIKitBackend/UIViewRepresentable.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ where Content == Never {
4646
///
4747
/// The default implementation uses `uiView.intrinsicContentSize` and `uiView.systemLayoutSizeFitting(_:)`
4848
/// to determine the return value.
49+
@MainActor
4950
func determineViewSize(
5051
for proposal: SIMD2<Int>, uiView: UIViewType,
5152
context: UIViewRepresentableContext<Coordinator>

0 commit comments

Comments
 (0)