@@ -24,7 +24,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
-#if canImport(AppKit)
+#if canImport(AppKit) && !targetEnvironment(UIKitForMac)
import AppKit
#elseif canImport(UIKit)
import UIKit
@@ -26,7 +26,7 @@
import Accelerate
#endif
#if canImport(UIKit)
@@ -27,7 +27,7 @@
import Foundation
import CoreGraphics
@@ -32,7 +32,7 @@ extension Float {
}
extension NSBezierPath {
convenience init(roundedRect rect: NSRect, topLeftRadius: CGFloat, topRightRadius: CGFloat,
public typealias IndicatorView = NSView
#else