Skip to content

Commit 1d179bf

Browse files
author
Michael Choe
committed
NSBezierPath extensions should only be imported on OSX
1 parent 81962ff commit 1d179bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SwiftSVG/NSBezierPath+CrossPlatform.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// Copyright © 2017 Strauss LLC. All rights reserved.
77
//
88

9+
#if os(OSX)
910
import AppKit
1011

1112
public extension NSBezierPath {
@@ -51,3 +52,4 @@ public extension NSBezierPath {
5152
}
5253

5354
}
55+
#endif

0 commit comments

Comments
 (0)