Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthetechie committed Apr 17, 2024
1 parent 1ebefd1 commit ac4f4d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ API for the line style layer, head over to [the docs](https://maplibre.org/mapli
and get to work filling out the remaining properties and modifiers.

Note that some Swift 5.9 improvements like macros will make things a bit easier, so it may make sense to punt on
things like fleshing out the expresison API helpers (which will be highly repetitive) till that lands. When in doubt,
things like fleshing out the expressions API helpers (which will be highly repetitive) till that lands. When in doubt,
check out the issue tracker, as these sholud be noted there.

TODO: Look at PointFree's Snapshot testing that generates images of SwiftUI views. Also look at inline snapshotting.
Expand Down
2 changes: 1 addition & 1 deletion Sources/MapLibreSwiftUI/MapViewModifiers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public extension MapView {
return newMapView
}

/// Add a long press gesture handler ot the MapView
/// Add a long press gesture handler to the MapView
///
/// - Parameters:
/// - minimumDuration: The minimum duration in seconds the user must press the screen to run the gesture.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public struct MapGestureContext {
/// The state of the on change event.
public let state: UIGestureRecognizer.State

/// The location that the gesture occured on the screen.
/// The location that the gesture occurred on the screen.
public let point: CGPoint

/// The underlying geographic coordinate at the point of the gesture.
Expand Down
2 changes: 1 addition & 1 deletion Tests/MapLibreSwiftDSLTests/ShapeSourceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import XCTest

final class ShapeSourceTests: XCTestCase {
func testShapeSourcePolylineShapeBuilder() throws {
// Ideally in a style context, these colud be tested at compile time to
// Ideally in a style context, these could be tested at compile time to
// ensure there are no duplicate IDs.
let shapeSource = ShapeSource(identifier: "foo") {
MLNPolyline(coordinates: samplePedestrianWaypoints)
Expand Down

0 comments on commit ac4f4d8

Please sign in to comment.