Skip to content

CarPlay MacCatalyst xcode27.0 b3

Alex Soto edited this page Jul 7, 2026 · 1 revision

#CarPlay.framework

diff -ruN /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanelButtonConfiguration.h /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanelButtonConfiguration.h
--- /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanelButtonConfiguration.h	2026-06-13 03:42:16
+++ /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanelButtonConfiguration.h	2026-06-27 03:52:02
@@ -24,17 +24,17 @@
 
  @param primaryAction The primary text button for the panel.
  @param secondaryButton An optional secondary button. Note: only the image property of this button is used. Any title provided will be dropped.
- @param travelEstimates Optional travel estimates to display alongside the primary button.
+ @param travelEstimates The travel estimates to display alongside the primary button.
  @return A new @c CPMapPanelButtonConfiguration instance.
  */
 - (instancetype)initWithPrimaryAction:(CPTextButton *)primaryAction
                       secondaryButton:(nullable CPButton *)secondaryButton
-                      travelEstimates:(nullable CPTravelEstimates *)travelEstimates;
+                      travelEstimates:(CPTravelEstimates *)travelEstimates;
 
 /**
  Optional travel estimates displayed alongside the primary action.
  */
-@property (nonatomic, copy, nullable) CPTravelEstimates *travelEstimates;
+@property (nonatomic, copy) CPTravelEstimates *travelEstimates;
 
 /**
  An optional secondary button shown with this configuration. Note: only the image property of this button is used.
diff -ruN /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanelItem.h /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanelItem.h
--- /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanelItem.h	2026-06-13 03:42:16
+++ /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanelItem.h	2026-06-27 03:52:02
@@ -11,8 +11,6 @@
 @class CPTrip;
 @class CPTravelEstimates;
 @class CPRouteChoice;
-@class CPListItem;
-@class CPGridButton;
 @class CPRouteDetail;
 @class CPChargingStationConnection;
 @class CPMapTemplateWaypoint;
@@ -52,18 +50,6 @@
  Initializes a map template item wrapping a @c CPMapTemplateWaypoint.
  */
 - (instancetype)initWithMapTemplateWaypoint:(CPMapTemplateWaypoint *)mapTemplateWaypoint image:(nullable UIImage *)image handler:(nullable void (^)(CPMapPanelItem *item, dispatch_block_t completionBlock))handler;
-
-/**
- Initializes a map template item wrapping a @c CPListItem.
- */
-- (instancetype)initWithListItem:(CPListItem *)listItem;
-
-/**
- Initializes a map template item wrapping an array of @c CPGridButton objects.
- */
-- (instancetype)initWithGridButtons:(NSArray<CPGridButton *> *)gridButtons;
-
-- (instancetype)init NS_UNAVAILABLE;
 
 @end
 
diff -ruN /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPPanelItem.h /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPPanelItem.h
--- /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPPanelItem.h	2026-06-13 03:42:13
+++ /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPPanelItem.h	2026-06-27 03:51:59
@@ -7,6 +7,9 @@
 
 #import <Foundation/Foundation.h>
 
+@class CPListItem;
+@class CPGridButton;
+
 NS_ASSUME_NONNULL_BEGIN
 
 /**
@@ -30,6 +33,18 @@
  Any custom user info related to this item.
  */
 @property (nullable, nonatomic, strong) id userInfo;
+
+/**
+ Initializes a panel item wrapping a @c CPListItem.
+ */
+- (instancetype)initWithListItem:(CPListItem *)listItem;
+
+/**
+ Initializes a panel item wrapping an array of @c CPGridButton objects.
+ */
+- (instancetype)initWithGridButtons:(NSArray<CPGridButton *> *)gridButtons;
+
+- (instancetype)init NS_UNAVAILABLE;
 
 @end
 

Clone this wiki locally