Skip to content

UIKit watchOS xcode13.0 beta3

Alex Soto edited this page Sep 13, 2021 · 2 revisions

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

diff -ruN /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h
--- /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h	2021-06-17 03:46:33.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h	2021-07-13 00:42:13.000000000 -0400
@@ -104,7 +104,7 @@
 
 @interface UIColor (UIColorNamedColors)
 + (nullable UIColor *)colorNamed:(NSString *)name API_AVAILABLE(ios(11.0));      // load from main bundle
-+ (nullable UIColor *)colorNamed:(NSString *)name inBundle:(nullable NSBundle *)bundle compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection API_AVAILABLE(ios(11.0));
++ (nullable UIColor *)colorNamed:(NSString *)name inBundle:(nullable NSBundle *)bundle compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos);
 @end
 
 @interface UIColor (DynamicColors)
diff -ruN /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes
--- /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes	2021-06-17 01:29:22.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes	2021-07-07 04:20:24.000000000 -0400
@@ -7,6 +7,11 @@
 ---
 Name: UIKit
 Classes:
+- Name: NSTextAttachmentViewProvider
+  Methods:
+  - Selector: "attachmentBoundsForAttributes:location:textContainer:proposedLineFragment:position:"
+    MethodKind: Instance
+    SwiftName: attachmentBounds(for:location:textContainer:proposedLineFragment:position:)
 - Name: NSTextContentStorage
   Methods:
   - Selector: "locationFromLocation:withOffset:"
@@ -50,7 +55,7 @@
     SwiftName: init(_:affinity:)
   - Selector: "initWithRange:affinity:granularity:"
     MethodKind: Instance
-    SwiftName: init(_:affinity:granularity:)
+    SwiftName: init(range:affinity:granularity:)
   - Selector: "initWithRanges:affinity:granularity:"
     MethodKind: Instance
     SwiftName: init(_:affinity:granularity:)
@@ -502,9 +507,6 @@
   - Selector: 'buttonWithConfiguration:primaryAction:'
     MethodKind: Class
     SwiftPrivate: true
-  - Selector: 'preferredSizeForConfiguration:maximumWidth:'
-    MethodKind: Instance
-    SwiftPrivate: true
   Properties:
   - Name: 'configuration'
     PropertyKind: Instance
@@ -795,6 +797,10 @@
   - Selector: 'initWithTypeIdentifiersForAcceptingClass:'
     MethodKind: Instance
     SwiftName: 'init(forAccepting:)'
+- Name: UIToolTipConfiguration
+  Properties:
+  - Name: sourceRect
+    SwiftPrivate: true
 - Name: UIFocusSystem
   Methods:
   - Selector: 'environment:containsEnvironment:'
@@ -864,6 +870,9 @@
   - Selector: 'elementWithProvider:'
     SwiftName: 'init(_:)'
     MethodKind: Class
+  - Selector: 'elementWithUncachedProvider:'
+    SwiftName: 'uncached(_:)'
+    MethodKind: Class
 - Name: UIBandSelectionInteraction
   Methods:
   - Selector: 'initWithSelectionHandler:'
@@ -901,6 +910,17 @@
     PropertyKind: Instance
     SwiftPrivate: true
 Protocols:
+- Name: NSTextAttachmentLayout
+  Methods:
+  - Selector: "attachmentBoundsForAttributes:location:textContainer:proposedLineFragment:position:"
+    MethodKind: Instance
+    SwiftName: attachmentBounds(for:location:textContainer:proposedLineFragment:position:)
+  - Selector: "imageForBounds:attributes:location:textContainer:"
+    MethodKind: Instance
+    SwiftName: image(for:attributes:location:textContainer:)
+  - Selector: "viewProviderForParentView:location:textContainer:"
+    MethodKind: Instance
+    SwiftName: viewProvider(for:location:textContainer:)
 - Name: NSTextElementProvider
   Methods:
   - Selector: "locationFromLocation:withOffset:"
@@ -1477,6 +1497,10 @@
   SwiftName: UIImage.SymbolScale
 - Name: UIImageSymbolWeight
   SwiftName: UIImage.SymbolWeight
+- Name: UIImageVariantShape
+  SwiftName: UIImage.VariantShape
+- Name: UIImageVariantFill
+  SwiftName: UIImage.VariantFill
 - Name: UIPrinterCutterBehavior
   SwiftName: UIPrinter.CutterBehavior
 - Name: UIPrinterJobTypes
@@ -2109,10 +2133,10 @@
   SwiftName: UIView.layoutFittingExpandedSize
 - Name: UICollectionViewFlowLayoutAutomaticSize
   SwiftName: UICollectionViewFlowLayout.automaticSize
-- Name: UITableViewAutomaticDimension
-  SwiftName: UITableView.automaticDimension
 - Name: UICollectionViewLayoutAutomaticDimension
   SwiftPrivate: true
+- Name: UITableViewAutomaticDimension
+  SwiftName: UITableView.automaticDimension
 - Name: UISplitViewControllerAutomaticDimension
   SwiftName: UISplitViewController.automaticDimension
 - Name: UIFloatRangeZero
Clone this wiki locally