-
Notifications
You must be signed in to change notification settings - Fork 514
CarPlay iOS xcode16.0 b1
Rolf Bjarne Kvinge edited this page Aug 14, 2024
·
3 revisions
#CarPlay.framework https://github.com/xamarin/xamarin-macios/pull/21039
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPLane.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPLane.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPLane.h 2024-04-14 20:00:29
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPLane.h 2024-05-30 13:12:24
@@ -22,20 +22,36 @@
API_AVAILABLE(ios(17.4))
@interface CPLane : NSObject <NSCopying, NSSecureCoding>
+- (instancetype)init API_DEPRECATED("-[CPLane initWithAngles:] or -[CPLane initWithHighlightedAngle:angles:isPreferred:]", ios(17.4, 18.0));
+- (instancetype)initWithAngles:(NSArray<NSMeasurement<NSUnitAngle *> *> *)angles API_AVAILABLE(ios(18.0));
+- (instancetype)initWithAngles:(NSArray<NSMeasurement<NSUnitAngle *> *> *)angles highlightedAngle:(NSMeasurement<NSUnitAngle *> *)highlightedAngle isPreferred:(BOOL)preferred API_AVAILABLE(ios(18.0));
+
/**
status is a @c CPLaneStatus representing the status of this lane.
*/
@property (nonatomic, assign) CPLaneStatus status API_AVAILABLE(ios(17.4));
+- (void)setStatus:(CPLaneStatus)status API_DEPRECATED("Use -[CPLane initWithAngles:] to create a CPLane with CPLaneStatusNotGood, use -[CPLane initAngles:highlightedAngle:isPreferred:] to create a CPLane with status CPLaneStatusGood or CPLaneStatusPreferred", ios(17.4, 18.0));
/**
primaryAngle is the angle to be highlighted if this lane is preferred or good. If primaryAngle is present it can not be included in secondaryAngles.
*/
-@property (nonatomic, strong) NSMeasurement<NSUnitAngle *> *primaryAngle API_AVAILABLE(ios(17.4));
+@property (nonatomic, strong) NSMeasurement<NSUnitAngle *> *primaryAngle API_DEPRECATED("Use highlightedAngle to get value, use -[CPLane initAngles:highlightedAngle:isPreferred:] to create a CPLane with highlightedAngle set", ios(17.4, 18.0));
/**
+ @c highlightedAngle is the angle to be highlighted. If @c highlightedAngle is present it can not be included in @c angles. @c highlightedAngle must not be set if status is @c CPLaneStatusNotGood
+ */
+@property (nonatomic, strong, nullable, readonly) NSMeasurement<NSUnitAngle *> *highlightedAngle API_AVAILABLE(ios(18.0));
+
+/**
secondaryAngles is a list of the remaining angles of this lane guidance.
*/
-@property (nonatomic, strong) NSArray<NSMeasurement<NSUnitAngle *> *> *secondaryAngles API_AVAILABLE(ios(17.4));
+@property (nonatomic, strong) NSArray<NSMeasurement<NSUnitAngle *> *> *secondaryAngles API_DEPRECATED("Use angles to get value, Use -[CPLane initWithAngles:] or -[CPLane initAngles:highlightedAngle:isPreferred:] to create a CPLane with angles", ios(17.4, 18.0));
+
+/**
+ @c angles is a list of the remaining angles of this lane guidance. If @c highlightedAngle is set, that angle must not be included in @c angles
+ */
+@property (nonatomic, copy, readonly) NSArray<NSMeasurement<NSUnitAngle *> *> *angles API_AVAILABLE(ios(18.0));
+
@end
NS_ASSUME_NONNULL_END
- 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