Skip to content

UIKit iOS xcode14.2 rc

Alex Soto edited this page Dec 11, 2022 · 2 revisions

#UIKit.framework https://github.com/xamarin/xamarin-macios/pull/17010

diff -ruN /Applications/Xcode_14.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICalendarView.h /Applications/Xcode_14.2.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICalendarView.h
--- /Applications/Xcode_14.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICalendarView.h	2022-10-06 13:32:05.000000000 -0400
+++ /Applications/Xcode_14.2.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICalendarView.h	2022-11-10 19:19:09.000000000 -0500
@@ -73,6 +73,8 @@
 API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(watchos, tvos)
 @protocol UICalendarViewDelegate<NSObject>
 
+@optional
+
 /**
  *  @abstract Called when the calendar view is preparing decorations.
  *
@@ -83,6 +85,15 @@
  */
 - (nullable UICalendarViewDecoration *)calendarView:(UICalendarView *)calendarView decorationForDateComponents:(NSDateComponents *)dateComponents;
 
+/**
+ *  @abstract Called when the visible date has changed from @c previousDateComponents from user interaction.
+ *
+ *  @param calendarView The @c UICalendarView
+ *  @param previousDateComponents The previous date components before the visible date components changed.
+ */
+- (void)calendarView:(UICalendarView *)calendarView didChangeVisibleDateComponentsFrom:(NSDateComponents *)previousDateComponents API_AVAILABLE(ios(16.2));
+
+
 @end
 
 NS_HEADER_AUDIT_END(nullability, sendability)
diff -ruN /Applications/Xcode_14.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode_14.2.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h
--- /Applications/Xcode_14.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h	2022-10-06 14:47:04.000000000 -0400
+++ /Applications/Xcode_14.2.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h	2022-11-12 16:00:35.000000000 -0500
@@ -118,10 +118,10 @@
 /* The numbered variations, systemGray2 through systemGray6, are grays which increasingly
  * trend away from systemGray and in the direction of systemBackgroundColor.
  *
- * In UIUserInterfaceStyleLight: systemGray1 is slightly lighter than systemGray.
- *                               systemGray2 is lighter than that, and so on.
- * In UIUserInterfaceStyleDark:  systemGray1 is slightly darker than systemGray.
- *                               systemGray2 is darker than that, and so on.
+ * In UIUserInterfaceStyleLight: systemGray2 is slightly lighter than systemGray.
+ *                               systemGray3 is lighter than that, and so on.
+ * In UIUserInterfaceStyleDark:  systemGray2 is slightly darker than systemGray.
+ *                               systemGray3 is darker than that, and so on.
  */
 @property (class, nonatomic, readonly) UIColor *systemGray2Color        API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
 @property (class, nonatomic, readonly) UIColor *systemGray3Color        API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
diff -ruN /Applications/Xcode_14.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode_14.2.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h
--- /Applications/Xcode_14.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h	2022-10-06 14:44:13.000000000 -0400
+++ /Applications/Xcode_14.2.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h	2022-11-10 19:19:17.000000000 -0500
@@ -60,7 +60,7 @@
 // Specifies the line break strategies that may be used for laying out the text in this label.
 // If this property is not set, the default value is NSLineBreakStrategyStandard.
 // If the label contains an attributed text with paragraph style(s) that specify a set of line break strategies, the set of strategies in the paragraph style(s) will be used instead of the set of strategies defined by this property.
-@property(nonatomic) NSLineBreakStrategy lineBreakStrategy;
+@property(nonatomic) NSLineBreakStrategy lineBreakStrategy API_AVAILABLE(ios(14.0), tvos(14.0), watchos(7.0));
 
 // override points. can adjust rect before calling super.
 // label has default content mode of UIViewContentModeRedraw
Clone this wiki locally