Skip to content

Commit ac13be9

Browse files
authored
Merge pull request #106 from underwaynyc/macCatalyst-fix
Fix for MacCatalyst
2 parents f97bd06 + 0051011 commit ac13be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftDraw/Sources/CanvasNSView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
// 3. This notice may not be removed or altered from any source distribution.
3030
//
3131

32-
#if canImport(AppKit)
32+
#if canImport(AppKit) && !targetEnvironment(macCatalyst)
3333
import AppKit
3434
import SwiftUI
3535

0 commit comments

Comments
 (0)