Skip to content

Commit b19629e

Browse files
committed
Fix typos.
1 parent 923c889 commit b19629e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Navigation-Examples/Examples/Custom-User-Location.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class CustomUserLocationViewController: UIViewController, NavigationMapViewDeleg
119119

120120
let waypoint = Waypoint(coordinate: destinationCoordinate, name: "Dropped Pin #\(waypoints.endIndex + 1)")
121121
waypoint.targetCoordinate = destinationCoordinate
122-
// Change the coordinate accuracy of `Waypoint` to negative beofre add it to the `waypoints`. Thus the route requested on the `waypoints` is considered viable.
122+
// Change the coordinate accuracy of `Waypoint` to negative before adding it to the `waypoints`. Thus the route requested on the `waypoints` is considered viable.
123123
waypoint.coordinateAccuracy = -1
124124
waypoints.append(waypoint)
125125

@@ -134,7 +134,7 @@ class CustomUserLocationViewController: UIViewController, NavigationMapViewDeleg
134134
}
135135

136136
let userWaypoint = Waypoint(coordinate: currentCoordinate)
137-
// Change the coordinate accuracy of `Waypoint` to negative beofre add it to the `waypoints`. Thus the route requested on the `waypoints` is considered viable.
137+
// Change the coordinate accuracy of `Waypoint` to negative before adding it to the `waypoints`. Thus the route requested on the `waypoints` is considered viable.
138138
userWaypoint.coordinateAccuracy = -1
139139
waypoints.insert(userWaypoint, at: 0)
140140
let navigationRouteOptions = NavigationRouteOptions(waypoints: waypoints)
@@ -216,7 +216,7 @@ class CustomUserLocationViewController: UIViewController, NavigationMapViewDeleg
216216
}
217217

218218
func setupCustomPuck2D() {
219-
// It's optional to set up `Puck2DConfiguration` to the `UserLocationStyle.puck2D`. Otherwise the defualt configutaion for the `UserLocationStyle.puck2D` is `Puck2DConfiguration()`.
219+
// It's optional to set up `Puck2DConfiguration` to the `UserLocationStyle.puck2D`. Otherwise the default configuration for the `UserLocationStyle.puck2D` is `Puck2DConfiguration()`.
220220
var puck2DConfiguration = Puck2DConfiguration()
221221
if #available(iOS 13.0, *) {
222222
puck2DConfiguration.topImage = UIImage(systemName: "arrow.up")

0 commit comments

Comments
 (0)