Skip to content

Commit

Permalink
One last guard for watchOS/catalyst distinction
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Jan 22, 2024
1 parent a93eae9 commit 2e10baf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Rearrange/NSTextLocation+Comparable.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#if os(macOS) && !targetEnvironment(macCatalyst)
import AppKit
#elseif canImport(UIKit)
#elseif os(iOS) || os(tvOS) || os(visionOS)
import UIKit
#endif

#if (os(macOS) && !targetEnvironment(macCatalyst)) || canImport(UIKit)
#if os(macOS) || os(iOS) || os(tvOS) || os(visionOS)

@available(iOS 15.0, macOS 12.0, tvOS 15.0, *)
extension NSTextLocation {
Expand Down

0 comments on commit 2e10baf

Please sign in to comment.