Skip to content

CarPlay iOS xcode13.0 beta3

Manuel de la Pena edited this page Jul 19, 2021 · 3 revisions

#CarPlay.framework ##mandel

diff -ruN /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPListSection.h /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPListSection.h
--- /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPListSection.h	2021-06-22 17:37:14.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPListSection.h	2021-07-13 00:41:51.000000000 -0400
@@ -29,9 +29,16 @@
 /**
  Create a section with a list of items and an optional header and identifier.
  */
+
+#if __swift__
+- (instancetype)initWithItems:(NSArray *)items
+                       header:(nullable NSString *)header
+            sectionIndexTitle:(nullable NSString *)sectionIndexTitle NS_REFINED_FOR_SWIFT;
+#else
 - (instancetype)initWithItems:(NSArray <id <CPListTemplateItem>> *)items
                        header:(nullable NSString *)header
             sectionIndexTitle:(nullable NSString *)sectionIndexTitle;
+#endif
 
 /**
  Create a section with a list of items and an optional header containing labels, an image, and a button.
@@ -59,7 +66,12 @@
 /**
  Create a section by specifying a list of items.
  */
+
+#if __swift__
+- (instancetype)initWithItems:(NSArray *)items NS_REFINED_FOR_SWIFT;
+#else
 - (instancetype)initWithItems:(NSArray <id <CPListTemplateItem>> *)items;
+#endif
 
 - (instancetype)init NS_UNAVAILABLE;
 + (instancetype)new NS_UNAVAILABLE;
Clone this wiki locally