Skip to content

Commit

Permalink
Remove NSTextLocation comparable extension
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Apr 6, 2024
1 parent 5ff7f33 commit b4a3438
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 43 deletions.
12 changes: 11 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.5
// swift-tools-version: 5.8

import PackageDescription

Expand All @@ -13,3 +13,13 @@ let package = Package(
.testTarget(name: "RearrangeTests", dependencies: ["Rearrange"]),
]
)

let swiftSettings: [SwiftSetting] = [
.enableExperimentalFeature("StrictConcurrency")
]

for target in package.targets {
var settings = target.swiftSettings ?? []
settings.append(contentsOf: swiftSettings)
target.swiftSettings = settings
}
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,6 @@ subscript(range: Range<Int>) -> Substring?
subscript(range: NSRange) -> Substring?
```

**NSTextLocation**

```swift
static func < (lhs: Self, rhs: Self) -> Bool
static func == (lhs: Self, rhs: Self) -> Bool
static func <= (lhs: Self, rhs: Self) -> Bool
static func > (lhs: Self, rhs: Self) -> Bool
static func >= (lhs: Self, rhs: Self) -> Bool
```

## Contributing and Collaboration

I would love to hear from you! Issues, Discussions, or pull requests work great. A [Discord server][discord] is also available for live help, but I have a strong bias towards answering in the form of documentation.
Expand Down
32 changes: 0 additions & 32 deletions Sources/Rearrange/NSTextLocation+Comparable.swift

This file was deleted.

0 comments on commit b4a3438

Please sign in to comment.