Skip to content

Commit 28e9010

Browse files
committed
macOS build fix for cocoapods
1 parent 5fc7139 commit 28e9010

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Sources/SwiftFortuneWheel/macOSPort.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ typealias UIImageView = NSImageView
1414
typealias UIButton = NSButton
1515
typealias UIBezierPath = NSBezierPath
1616
typealias UIScreen = NSScreen
17+
typealias UITapGestureRecognizer = NSClickGestureRecognizer
1718
#endif
1819

1920
#if os(macOS)
@@ -169,8 +170,3 @@ extension NSBezierPath {
169170
}
170171
}
171172
#endif
172-
173-
174-
#if os(macOS)
175-
typealias UITapGestureRecognizer = NSClickGestureRecognizer
176-
#endif

0 commit comments

Comments
 (0)