Skip to content

Commit 4cd4598

Browse files
committed
Update to GEOSwift 10
1 parent 87e2a46 commit 4cd4598

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

GEOSwiftMapKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ Pod::Spec.new do |s|
2626
}
2727
s.source_files = 'Sources/**/*.swift'
2828
s.macos.exclude_files = 'GEOSwiftMapKit/GEOSwift+MapKitQuickLook.swift'
29-
s.dependency 'GEOSwift', '~> 8.0'
29+
s.dependency 'GEOSwift', '~> 10.0'
3030
end

Package.resolved

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
"repositoryURL": "https://github.com/GEOSwift/geos.git",
77
"state": {
88
"branch": null,
9-
"revision": "bf897b992c7ff22b5271bacfb1646ff136b75df2",
10-
"version": "6.0.1"
9+
"revision": "f510e634c822116fca615064d889300dba40d761",
10+
"version": "8.1.0"
1111
}
1212
},
1313
{
1414
"package": "GEOSwift",
1515
"repositoryURL": "https://github.com/GEOSwift/GEOSwift.git",
1616
"state": {
1717
"branch": null,
18-
"revision": "868c4fc12019c1e5f989d429b5a7bf97433be48c",
19-
"version": "8.0.1"
18+
"revision": "e55eef92fb533107b43e30fcf275223a5055797e",
19+
"version": "10.0.0"
2020
}
2121
}
2222
]

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ let package = Package(
88
.library(name: "GEOSwiftMapKit", targets: ["GEOSwiftMapKit"])
99
],
1010
dependencies: [
11-
.package(url: "https://github.com/GEOSwift/GEOSwift.git", from: "8.0.1")
11+
.package(url: "https://github.com/GEOSwift/GEOSwift.git", from: "10.0.0")
1212
],
1313
targets: [
1414
.target(

Sources/GEOSwiftMapKit/GEOSwift+MapKitQuickLook.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ protocol GEOSwiftQuickLook: CustomPlaygroundDisplayConvertible, GeometryConverti
1111
extension GEOSwiftQuickLook {
1212
public var playgroundDescription: Any {
1313
let defaultReturnValue: Any = (try? geometry.wkt()) ?? self
14-
guard let buffered = try? geometry.buffer(by: 0.1).intersection(with: Polygon.world),
14+
guard let buffered = try? geometry.buffer(by: 0.1)?.intersection(with: Polygon.world),
1515
let region = try? MKCoordinateRegion(containing: buffered) else {
1616
return defaultReturnValue
1717
}

0 commit comments

Comments
 (0)