-
Notifications
You must be signed in to change notification settings - Fork 516
CarPlay iOS xcode15.3 b2
Alex Soto edited this page May 21, 2024
·
2 revisions
#CarPlay.framework https://github.com/xamarin/xamarin-macios/pull/20097
diff -ruN /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationEnum.h /Applications/Xcode_15.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationEnum.h
--- /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationEnum.h 2024-01-19 03:46:54
+++ /Applications/Xcode_15.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationEnum.h 2024-01-30 04:20:25
@@ -9,7 +9,6 @@
#import <CarPlay/CPLane.h>
#import <CarPlay/CPManeuver.h>
-#import <CarPlay/CPRouteInfo.h>
#pragma mark - Maneuver
NSString *NSStringFromCPManeuverType(CPManeuverType maneuverType);
@@ -19,5 +18,3 @@
#pragma mark - Lane
NSString *NSStringFromCPLaneStatus(CPLaneStatus laneStatus);
-#pragma mark - ReRouting
-NSString *NSStringFromCPRerouteReason(CPRerouteReason reason);
diff -ruN /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationSession.h /Applications/Xcode_15.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationSession.h
--- /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationSession.h 2024-01-19 03:46:55
+++ /Applications/Xcode_15.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationSession.h 2024-01-28 23:32:46
@@ -6,6 +6,7 @@
//
#import <CarPlay/CPManeuver.h>
+#import <CarPlay/CPRouteInformation.h>
#import <CarPlay/CPTravelEstimates.h>
#import <CarPlay/CPTrip.h>
#import <Foundation/Foundation.h>
@@ -46,6 +47,13 @@
@param turnCardColor An optional color of the pause card. If @c nil, will fallback to the @c guidanceBackgroundColor on @c CPMapTemplate. If no color is specified there, will default to a system-provided color.
*/
- (void)pauseTripForReason:(CPTripPauseReason)reason description:(nullable NSString *)description turnCardColor:(nullable UIColor *)turnCardColor API_AVAILABLE(ios(15.4));
+
+/**
+ Resume the current trip with updated route information
+
+ @param routeInformation The updated route information for the current trip
+ */
+- (void)resumeTripWithUpdatedRouteInformation:(CPRouteInformation *)routeInformation NS_SWIFT_NAME(resumeTrip(updatedRouteInformation:)) API_AVAILABLE(ios(17.4));
/**
Finish the trip.
diff -ruN /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteInfo.h /Applications/Xcode_15.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteInfo.h
--- /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteInfo.h 2024-01-19 03:46:53
+++ /Applications/Xcode_15.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteInfo.h 1969-12-31 19:00:00
@@ -1,30 +0,0 @@
-//
-// CPRouteInfo.h
-// CarPlayFrameworks
-//
-// Created by Evan Murphy on 9/12/23.
-// Copyright © 2023 Apple Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-typedef NS_ENUM(uint8_t, CPRerouteReason)
-{
- CPRerouteReasonMissedTurn = 0,
- CPRerouteReasonOffline,
- CPRerouteReasonAlternateRoute,
- CPRerouteReasonWaypointAdded
-};
-
-@class CPRouteGuidance, CPManeuver, CPLaneGuidance;
-
-@interface CPRouteInfo : NSObject
-
-@property (readonly, nonatomic, copy) NSArray<CPManeuver *> *maneuvers;
-@property (readonly, nonatomic, copy) NSArray<CPLaneGuidance *> *laneGuidances;
-@property (readonly, nonatomic, copy) CPRouteGuidance *routeGuidance;
-
-- (instancetype)initWithRouteGuidance:(CPRouteGuidance *) routeGuidance maneuvers:(NSArray<CPManeuver *> *) maneuvers laneGuidances:(NSArray<CPLaneGuidance *> *) laneGuidances;
-
-@end
-
diff -ruN /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteInformation.h /Applications/Xcode_15.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteInformation.h
--- /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteInformation.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteInformation.h 2024-01-30 04:20:25
@@ -0,0 +1,60 @@
+//
+// CPRouteInformation.h
+// CarPlay
+//
+// Copyright © 2024 Apple Inc. All rights reserved.
+
+#import <Foundation/Foundation.h>
+#import <CarPlay/CPManeuver.h>
+#import <CarPlay/CPLaneGuidance.h>
+#import <CarPlay/CPTravelEstimates.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/**
+ CPRouteInformation describes information pertaining to a route that is necessary for rerouting.
+ */
+API_AVAILABLE(ios(17.4)) NS_SWIFT_SENDABLE
+@interface CPRouteInformation : NSObject
+
+/**
+ Initialize a CPRouteInformation object with maneuvers, lane guidances, the current maneuvers, the current lane guidance, and trip and current maneuver travel estimates.
+ */
+- (instancetype)initWithManeuvers:(NSArray<CPManeuver *> *)maneuvers laneGuidances:(NSArray<CPLaneGuidance *> *)laneGuidances currentManeuvers:(NSArray<CPManeuver *> *)currentManeuvers currentLaneGuidance:(CPLaneGuidance *)currentLaneGuidance tripTravelEstimates:(CPTravelEstimates *)tripTravelEstimates maneuverTravelEstimates:(CPTravelEstimates *)maneuverTravelEstimates NS_DESIGNATED_INITIALIZER;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+/**
+ maneuvers is an array of CPManeuver objects, each describes a single maneuver.
+*/
+@property (readonly, nonatomic, copy) NSArray<CPManeuver *> *maneuvers API_AVAILABLE(ios(17.4));
+
+/**
+ laneGuidances is an array of CPLaneGuidance objects, each describes a single lane guidance.
+*/
+@property (readonly, nonatomic, copy) NSArray<CPLaneGuidance *> *laneGuidances API_AVAILABLE(ios(17.4));
+
+/**
+ currentManeuvers is an array of CPManeuver objects, describing the current maneuvers.
+*/
+@property (readonly, nonatomic, copy) NSArray<CPManeuver *> *currentManeuvers API_AVAILABLE(ios(17.4));
+
+/**
+ currentLaneGuidance is a CPLaneGuidance object, describing the current lane guidance.
+*/
+@property (readonly, nonatomic, copy) CPLaneGuidance *currentLaneGuidance API_AVAILABLE(ios(17.4));
+
+/**
+ tripTravelEstimates is a CPTravelEstimates object, describing the travel estimates for the current trip.
+*/
+@property (readonly, nonatomic, copy) CPTravelEstimates *tripTravelEstimates API_AVAILABLE(ios(17.4));
+
+/**
+ maneuverTravelEstimates is a CPTravelEstimates object, describing the travel estimates for the first maneuver in the list of current maneuvers.
+*/
+@property (readonly, nonatomic, copy) CPTravelEstimates *maneuverTravelEstimates API_AVAILABLE(ios(17.4));
+
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CarPlay.h /Applications/Xcode_15.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CarPlay.h
--- /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CarPlay.h 2024-01-19 03:46:53
+++ /Applications/Xcode_15.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CarPlay.h 2024-01-30 04:20:23
@@ -44,6 +44,7 @@
#import <CarPlay/CPPointOfInterestTemplate.h>
#import <CarPlay/CPSearchTemplate.h>
#import <CarPlay/CPListItemTypes.h>
+#import <CarPlay/CPRouteInformation.h>
#import <CarPlay/CPSessionConfiguration.h>
#import <CarPlay/CPTabBarTemplate.h>
#import <CarPlay/CPTemplate.h>
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status