Skip to content

CarPlay iOS xcode13.0 beta2

Manuel de la Pena edited this page Jun 30, 2021 · 3 revisions

#CarPlay.framework https://github.com/xamarin/xamarin-macios/pull/12052

diff -ruN /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPManeuver.h /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPManeuver.h
--- /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPManeuver.h	2021-06-02 12:47:36.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPManeuver.h	2021-06-22 17:34:17.000000000 -0400
@@ -10,73 +10,6 @@
 #import <CarPlay/CPTravelEstimates.h>
 #import <UIKit/UIKit.h>
 
-typedef NS_ENUM(uint8_t, CPManeuverType) {
-    CPManeuverTypeNoTurn                    =  0,
-    CPManeuverTypeLeftTurn                  =  1,
-    CPManeuverTypeRightTurn                 =  2,
-    CPManeuverTypeStraightAhead             =  3,
-    CPManeuverTypeUTurn                     =  4,
-    CPManeuverTypeFollowRoad                =  5,
-    CPManeuverTypeEnterRoundabout           =  6,
-    CPManeuverTypeExitRoundabout            =  7,
-    CPManeuverTypeOffRamp                   =  8,
-    CPManeuverTypeOnRamp                    =  9,
-    CPManeuverTypeArriveEndOfNavigation     = 10,
-    CPManeuverTypeStartRoute                = 11,
-    CPManeuverTypeArriveAtDestination       = 12,
-    CPManeuverTypeKeepLeft                  = 13,
-    CPManeuverTypeKeepRight                 = 14,
-    CPManeuverTypeEnter_Ferry               = 15,
-    CPManeuverTypeExitFerry                 = 16,
-    CPManeuverTypeChangeFerry               = 17,
-    CPManeuverTypeStartRouteWithUTurn       = 18,
-    CPManeuverTypeUTurnAtRoundabout         = 19,
-    CPManeuverTypeLeftTurnAtEnd             = 20,
-    CPManeuverTypeRightTurnAtEnd            = 21,
-    CPManeuverTypeHighwayOffRampLeft        = 22,
-    CPManeuverTypeHighwayOffRampRight       = 23,
-    CPManeuverTypeArriveAtDestinationLeft   = 24,
-    CPManeuverTypeArriveAtDestinationRight  = 25,
-    CPManeuverTypeUTurnWhenPossible         = 26,
-    CPManeuverTypeArriveEndOfDirections     = 27,
-    CPManeuverTypeRoundaboutExit1           = 28,
-    CPManeuverTypeRoundaboutExit2           = 29,
-    CPManeuverTypeRoundaboutExit3           = 30,
-    CPManeuverTypeRoundaboutExit4           = 31,
-    CPManeuverTypeRoundaboutExit5           = 32,
-    CPManeuverTypeRoundaboutExit6           = 33,
-    CPManeuverTypeRoundaboutExit7           = 34,
-    CPManeuverTypeRoundaboutExit8           = 35,
-    CPManeuverTypeRoundaboutExit9           = 36,
-    CPManeuverTypeRoundaboutExit10          = 37,
-    CPManeuverTypeRoundaboutExit11          = 38,
-    CPManeuverTypeRoundaboutExit12          = 39,
-    CPManeuverTypeRoundaboutExit13          = 40,
-    CPManeuverTypeRoundaboutExit14          = 41,
-    CPManeuverTypeRoundaboutExit15          = 42,
-    CPManeuverTypeRoundaboutExit16          = 43,
-    CPManeuverTypeRoundaboutExit17          = 44,
-    CPManeuverTypeRoundaboutExit18          = 45,
-    CPManeuverTypeRoundaboutExit19          = 46,
-    CPManeuverTypeSharpLeftTurn             = 47,
-    CPManeuverTypeSharpRightTurn            = 48,
-    CPManeuverTypeSlightLeftTurn            = 49,
-    CPManeuverTypeSlightRightTurn           = 50,
-    CPManeuverTypeChangeHighway             = 51,
-    CPManeuverTypeChangeHighwayLeft         = 52,
-    CPManeuverTypeChangeHighwayRight        = 53,
-};
-
-typedef NS_ENUM(uint8_t, CPJunctionType) {
-    CPJunctionTypeIntersection = 0, // single intersection with roads coming to a common point
-    CPJunctionTypeRoundabout   = 1, // roundabout, junction elements represent roads exiting the roundabout
-};
-
-typedef NS_ENUM(uint8_t, CPTrafficSide) {
-    CPTrafficSideRight = 0, // anti-clockwise for roundabouts
-    CPTrafficSideLeft  = 1, // clockwise for roundabouts
-};
-
 NS_ASSUME_NONNULL_BEGIN
 
 /**
Clone this wiki locally