We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f377e83 commit f4cf5efCopy full SHA for f4cf5ef
Sources/AppKitBackend/NSViewRepresentable.swift
@@ -44,7 +44,6 @@ public protocol NSViewRepresentable: View where Content == Never {
44
///
45
/// The default implementation uses `nsView.intrinsicContentSize` and `nsView.sizeThatFits(_:)`
46
/// to determine the return value.
47
- @MainActor
48
func determineViewSize(
49
for proposal: SIMD2<Int>, nsView: NSViewType,
50
context: NSViewRepresentableContext<Coordinator>
@@ -131,7 +130,6 @@ extension View where Self: NSViewRepresentable {
131
130
}
132
133
134
135
public func update<Backend: AppBackend>(
136
_ widget: Backend.Widget,
137
children _: any ViewGraphNodeChildren,
0 commit comments