Skip to content

Commit be13409

Browse files
committed
wip
wip
1 parent 6abfddd commit be13409

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Sources/IntrospectionView.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ final class IntrospectionAnchorPlatformViewController: PlatformViewController {
6363
required init?(coder: NSCoder) {
6464
fatalError("init(coder:) has not been implemented")
6565
}
66+
67+
#if canImport(AppKit) && !targetEnvironment(macCatalyst)
68+
override func loadView() {
69+
view = NSView()
70+
}
71+
#endif
6672
}
6773

6874
struct IntrospectionView<Target: PlatformEntity>: PlatformViewControllerRepresentable {

0 commit comments

Comments
 (0)