@@ -84,7 +84,7 @@ public protocol CarPlayManagerDelegate: AnyObject, UnimplementedLogging {
8484 - parameter trip: The trip that will be previewed.
8585 - returns: The actual trip to be previewed. This can be the same trip or a new/alternate trip if desired.
8686 */
87- func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip ) -> ( CPTrip )
87+ func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip ) -> CPTrip
8888
8989 /**
9090 Offers the delegate the opportunity to customize a trip preview text configuration for a given trip.
@@ -94,7 +94,7 @@ public protocol CarPlayManagerDelegate: AnyObject, UnimplementedLogging {
9494 - parameter previewTextConfiguration: The trip preview text configuration that will be presented alongside the trip.
9595 - returns: The actual preview text configuration to be presented alongside the trip.
9696 */
97- func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip , with previewTextConfiguration: CPTripPreviewTextConfiguration ) -> ( CPTripPreviewTextConfiguration )
97+ func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip , with previewTextConfiguration: CPTripPreviewTextConfiguration ) -> CPTripPreviewTextConfiguration
9898
9999 /**
100100 Offers the delegate the opportunity to react to selection of a trip. Certain trips may have alternate route(s).
@@ -103,22 +103,22 @@ public protocol CarPlayManagerDelegate: AnyObject, UnimplementedLogging {
103103 - parameter trip: The trip to begin navigating along.
104104 - parameter routeChoice: The possible route for the chosen trip.
105105 */
106- func carPlayManager( _ carPlayManager: CarPlayManager , selectedPreviewFor trip: CPTrip , using routeChoice: CPRouteChoice ) -> ( )
106+ func carPlayManager( _ carPlayManager: CarPlayManager , selectedPreviewFor trip: CPTrip , using routeChoice: CPRouteChoice )
107107
108108 /**
109109 Called when navigation begins so that the containing app can update accordingly.
110110
111111 - parameter carPlayManager: The CarPlay manager instance.
112112 - parameter service: The navigation service that has begun managing location updates for a navigation session.
113113 */
114- func carPlayManager( _ carPlayManager: CarPlayManager , didBeginNavigationWith service: NavigationService ) -> ( )
114+ func carPlayManager( _ carPlayManager: CarPlayManager , didBeginNavigationWith service: NavigationService )
115115
116116 /**
117117 Called when navigation ends so that the containing app can update accordingly.
118118
119119 - parameter carPlayManager: The CarPlay manager instance.
120120 */
121- func carPlayManagerDidEndNavigation( _ carPlayManager: CarPlayManager ) -> ( )
121+ func carPlayManagerDidEndNavigation( _ carPlayManager: CarPlayManager )
122122
123123 /**
124124 Called when the CarPlayManager detects the user arrives at the destination waypoint for a route leg.
@@ -147,7 +147,7 @@ public protocol CarPlayManagerDelegate: AnyObject, UnimplementedLogging {
147147 - parameter carPlayManager: The CarPlay manager instance.
148148 - parameter navigationViewController: The CarPlayNavigationViewController that was presented on the CarPlay display.
149149 */
150- func carPlayManager( _ carPlayManager: CarPlayManager , didPresent navigationViewController: CarPlayNavigationViewController ) -> ( )
150+ func carPlayManager( _ carPlayManager: CarPlayManager , didPresent navigationViewController: CarPlayNavigationViewController )
151151
152152 /**
153153 Tells the receiver that the `PointAnnotation` representing the final destination was added to either `CarPlayMapViewController` or `CarPlayNavigationViewController`.
@@ -207,15 +207,15 @@ public extension CarPlayManagerDelegate {
207207 /**
208208 `UnimplementedLogging` prints a warning to standard output the first time this method is called.
209209 */
210- func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip ) -> ( CPTrip ) {
210+ func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip ) -> CPTrip {
211211 logUnimplemented ( protocolType: CarPlayManagerDelegate . self, level: . debug)
212212 return trip
213213 }
214214
215215 /**
216216 `UnimplementedLogging` prints a warning to standard output the first time this method is called.
217217 */
218- func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip , with previewTextConfiguration: CPTripPreviewTextConfiguration ) -> ( CPTripPreviewTextConfiguration ) {
218+ func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip , with previewTextConfiguration: CPTripPreviewTextConfiguration ) -> CPTripPreviewTextConfiguration {
219219 logUnimplemented ( protocolType: CarPlayManagerDelegate . self, level: . debug)
220220 return previewTextConfiguration
221221 }
0 commit comments