Skip to content

Commit

Permalink
Another try to get guards working right
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Jul 21, 2023
1 parent 229843d commit 0fb658e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Rearrange/NSTextRange+NSRange.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import AppKit
import UIKit
#endif

#if canImport(AppKit) || canImport(UIKit)
#if os(iOS) || os(tvOS) || os(macOS)

@available(iOS 15.0, macOS 12.0, tvOS 15.0, *)
public extension NSTextLocation {
Expand Down
2 changes: 1 addition & 1 deletion Sources/Rearrange/UITextRange+Convenience.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if canImport(UIKit)
#if os(iOS) || os(tvOS)
import UIKit

public extension NSRange {
Expand Down

0 comments on commit 0fb658e

Please sign in to comment.