Skip to content

DeviceDiscoveryUI tvOS xcode14.0 beta1

Israel Soto edited this page Aug 24, 2022 · 5 revisions

#DeviceDiscoveryUI.framework https://github.com/xamarin/xamarin-macios/pull/15762

diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DDDevicePickerViewController.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DDDevicePickerViewController.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DDDevicePickerViewController.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DDDevicePickerViewController.h	2022-06-03 18:06:53.000000000 -0400
@@ -0,0 +1,35 @@
+//
+//  DDDevicePickerViewController.h
+//  DeviceDiscoveryUI
+//
+//  Copyright 2022 Apple Inc. All rights reserved.
+//
+
+#import <DeviceDiscoveryUI/DeviceDiscoveryUI.h>
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+#import <Network/Network.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+DeviceDiscoveryUI_EXTERN API_AVAILABLE(tvos(16.0)) API_UNAVAILABLE(macos, ios, watchos)
+@interface DDDevicePickerViewController: UIViewController
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
+- (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil bundle:(nullable NSBundle *)nibBundleOrNil NS_UNAVAILABLE;
+- (nullable instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE;
+
+#ifndef __swift__
++ (BOOL)isSupportedForBrowseDescriptor:(nw_browse_descriptor_t)browseDescriptor
+                            parameters:(nullable nw_parameters_t)parameters;
+
+- (nullable instancetype)initWithBrowseDescriptor:(nw_browse_descriptor_t)browseDescriptor
+                                       parameters:(nullable nw_parameters_t)parameters NS_DESIGNATED_INITIALIZER;
+
+- (void)setDevicePickerCompletionHandler:(void(^)(nw_endpoint_t _Nullable endpoint, nw_error_t _Nullable error))devicePickerCompletionHandler;
+#endif
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DeviceDiscoveryUI.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DeviceDiscoveryUI.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DeviceDiscoveryUI.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DeviceDiscoveryUI.h	2022-05-25 21:08:39.000000000 -0400
@@ -0,0 +1,9 @@
+//
+//  DeviceDiscoveryUI.h
+//  DeviceDiscoveryUI
+//
+//  Copyright 2022 Apple Inc. All rights reserved.
+//
+
+#import <DeviceDiscoveryUI/DeviceDiscoveryUIDefines.h>
+#import <DeviceDiscoveryUI/DDDevicePickerViewController.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DeviceDiscoveryUIDefines.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DeviceDiscoveryUIDefines.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DeviceDiscoveryUIDefines.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DeviceDiscoveryUIDefines.h	2022-05-25 21:08:39.000000000 -0400
@@ -0,0 +1,14 @@
+//
+//  DeviceDiscoveryUIDefines.h
+//  DeviceDiscoveryUI
+//
+//  Copyright 2022 Apple Inc. All rights reserved.
+//
+
+#import <os/availability.h>
+
+#ifdef __cplusplus
+#define DeviceDiscoveryUI_EXTERN        extern "C" __attribute__((visibility ("default")))
+#else
+#define DeviceDiscoveryUI_EXTERN            extern __attribute__((visibility ("default")))
+#endif
Clone this wiki locally