Other Type Aliases
The following type aliases are available globally.
A closure to call when an unpacking operation has made some progress.
public typealias UnpackProgressHandler = (_ totalBytes: UInt64, _ remainingBytes: UInt64) -> ()
The total size of tile pack in bytes.
The remaining number of bytes left to download.
A closure to call once an unpacking operation has completed.
public typealias UnpackCompletionHandler = (_ numberOfTiles: UInt64, _ error: Error?) -> ()
The number of tiles that were unpacked.
Potential error that occured when trying to unpack.
A closure (block) to be called when a directions request is complete.
If the request was canceled or there was an error obtaining the routes, this argument may be
If the request was canceled or there was an error obtaining the routes, this argument is
nil. This is not to be confused with the situation in which no results were found, in which case the array is present but empty.
An array of
Waypointobjects. Each waypoint object corresponds to a
Waypointobject in the original
RouteOptionsobject. The locations and names of these waypoints are the result of conflating the original waypoints to known roads. The waypoints may include additional information that was not specified in the original waypoints.
An array of
Routeobjects. The preferred route is first; any alternative routes come next if the
includesAlternativeRoutesproperty was set to
true. The preferred route depends on the route options object’s
The error that occurred, or
nilif the placemarks were obtained successfully.
A container view controller is a view controller that behaves as a navigation component; that is, it responds as the user progresses along a route according to the
public typealias ContainerViewController = UIViewController & NavigationComponent