forked from xamarin/xamarin-macios
-
Notifications
You must be signed in to change notification settings - Fork 1
UIKit watchOS xcode9 beta4
Vincent Dondain edited this page Aug 23, 2017
·
2 revisions
#UIKit.framework
diff -ruN /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h
--- /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h 2017-06-30 23:03:27.000000000 -0400
+++ /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h 2017-07-14 17:02:20.000000000 -0400
@@ -12,6 +12,12 @@
NS_ASSUME_NONNULL_BEGIN
+typedef NS_ENUM(NSInteger, UIPreferredPresentationStyle) {
+ UIPreferredPresentationStyleUnspecified = 0,
+ UIPreferredPresentationStyleInline,
+ UIPreferredPresentationStyleAttachment,
+};
+
@interface NSItemProvider (UIKitAdditions)
@property (nonatomic, copy, nullable) NSData *teamData API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos);
@@ -19,6 +25,19 @@
// Estimated presentation size, in points. CGSizeZero value indicates this information is not available.
@property (nonatomic) CGSize preferredPresentationSize API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos);
+@property (nonatomic) UIPreferredPresentationStyle preferredPresentationStyle;
+
+@end
+
+API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos)
+@protocol UIItemProviderPresentationSizeProviding <NSObject>
+
+// Implement this on an object which conforms to the NSItemProviderWriting protocol.
+// When the object is registered to NSItemProvider, this property will be used to automatically set
+// the `preferredPresentationSize` property on NSItemProvider.
+// Return CGSizeZero to indicate that this information is not available.
+@property (nonatomic, readonly) CGSize preferredPresentationSizeForItemProvider;
+
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes
--- /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes 2017-06-30 23:29:29.000000000 -0400
+++ /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes 2017-07-14 03:22:39.000000000 -0400
@@ -371,6 +371,11 @@
- Selector: 'initWithTypeIdentifiersForAcceptingClass:'
MethodKind: Instance
SwiftName: 'init(forAccepting:)'
+- Name: UIFocusSystem
+ Methods:
+ - Selector: 'environment:containsEnvironment:'
+ MethodKind: Class
+ SwiftPrivate: true
Protocols:
- Name: UIAppearance
Methods: