From 6a21f91f1653d3e79513107ecbfbef74521e736f Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Mon, 27 Mar 2023 17:17:52 -0400 Subject: [PATCH] [Foundation] Update bindings to Xcode 14.3 Beta 2 --- src/foundation.cs | 20 +++++++++++++++++++ .../iOS-Foundation.todo | 4 ---- .../macOS-Foundation.todo | 4 ---- .../tvOS-Foundation.todo | 4 ---- tests/xtro-sharpie/iOS-Foundation.todo | 4 ---- tests/xtro-sharpie/macOS-Foundation.todo | 4 ---- tests/xtro-sharpie/tvOS-Foundation.todo | 4 ---- tests/xtro-sharpie/watchOS-Foundation.todo | 4 ---- 8 files changed, 20 insertions(+), 28 deletions(-) diff --git a/src/foundation.cs b/src/foundation.cs index a688be4ea5..270aed3a7a 100644 --- a/src/foundation.cs +++ b/src/foundation.cs @@ -6802,6 +6802,11 @@ namespace Foundation { [Field ("NSURLFileResourceTypeKey")] NSString FileResourceTypeKey { get; } + [Watch (9, 4), TV (16, 4), Mac (13, 3), iOS (16, 4)] + [MacCatalyst (16, 4)] + [Field ("NSURLFileIdentifierKey")] + NSString FileIdentifierKey { get; } + [Field ("NSURLFileResourceTypeNamedPipe")] NSString FileResourceTypeNamedPipe { get; } @@ -6941,6 +6946,21 @@ namespace Foundation { [Field ("NSURLVolumeAvailableCapacityForOpportunisticUsageKey")] NSString VolumeAvailableCapacityForOpportunisticUsageKey { get; } + [Watch (9, 4), TV (16, 4), Mac (13, 3), iOS (16, 4)] + [MacCatalyst (16, 4)] + [Field ("NSURLVolumeTypeNameKey")] + NSString VolumeTypeNameKey { get; } + + [Watch (9, 4), TV (16, 4), Mac (13, 3), iOS (16, 4)] + [MacCatalyst (16, 4)] + [Field ("NSURLVolumeSubtypeKey")] + NSString VolumeSubtypeKey { get; } + + [Watch (9, 4), TV (16, 4), Mac (13, 3), iOS (16, 4)] + [MacCatalyst (16, 4)] + [Field ("NSURLVolumeMountFromLocationKey")] + NSString VolumeMountFromLocationKey { get; } + [Field ("NSURLIsUbiquitousItemKey")] NSString IsUbiquitousItemKey { get; } diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-Foundation.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-Foundation.todo index 353b6d42f7..8324968d65 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-Foundation.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/iOS-Foundation.todo @@ -3,7 +3,3 @@ !missing-selector! NSAttributedString::initWithFormat:options:locale: not bound !missing-selector! NSAttributedString::initWithFormat:options:locale:arguments: not bound !missing-selector! NSMutableAttributedString::appendLocalizedFormat: not bound -!missing-field! NSURLFileIdentifierKey not bound -!missing-field! NSURLVolumeMountFromLocationKey not bound -!missing-field! NSURLVolumeSubtypeKey not bound -!missing-field! NSURLVolumeTypeNameKey not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-Foundation.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-Foundation.todo index dcac3e84dd..3bc840c2ec 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-Foundation.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/macOS-Foundation.todo @@ -6,7 +6,3 @@ !missing-selector! NSAppleEventDescriptor::initListDescriptor not bound !missing-selector! NSAppleEventDescriptor::initRecordDescriptor not bound !missing-selector! NSXMLNode::init not bound -!missing-field! NSURLFileIdentifierKey not bound -!missing-field! NSURLVolumeMountFromLocationKey not bound -!missing-field! NSURLVolumeSubtypeKey not bound -!missing-field! NSURLVolumeTypeNameKey not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-Foundation.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-Foundation.todo index 353b6d42f7..8324968d65 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-Foundation.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-Foundation.todo @@ -3,7 +3,3 @@ !missing-selector! NSAttributedString::initWithFormat:options:locale: not bound !missing-selector! NSAttributedString::initWithFormat:options:locale:arguments: not bound !missing-selector! NSMutableAttributedString::appendLocalizedFormat: not bound -!missing-field! NSURLFileIdentifierKey not bound -!missing-field! NSURLVolumeMountFromLocationKey not bound -!missing-field! NSURLVolumeSubtypeKey not bound -!missing-field! NSURLVolumeTypeNameKey not bound diff --git a/tests/xtro-sharpie/iOS-Foundation.todo b/tests/xtro-sharpie/iOS-Foundation.todo index a085b43ea7..00d2a0548b 100644 --- a/tests/xtro-sharpie/iOS-Foundation.todo +++ b/tests/xtro-sharpie/iOS-Foundation.todo @@ -1,7 +1,3 @@ !missing-field! NSNetServicesErrorCode not bound !unknown-native-enum! NSBundleExecutableArchitecture bound !unknown-type! NSPortMessage bound -!missing-field! NSURLFileIdentifierKey not bound -!missing-field! NSURLVolumeMountFromLocationKey not bound -!missing-field! NSURLVolumeSubtypeKey not bound -!missing-field! NSURLVolumeTypeNameKey not bound diff --git a/tests/xtro-sharpie/macOS-Foundation.todo b/tests/xtro-sharpie/macOS-Foundation.todo index 581faaed90..cccab6a524 100644 --- a/tests/xtro-sharpie/macOS-Foundation.todo +++ b/tests/xtro-sharpie/macOS-Foundation.todo @@ -1,6 +1,2 @@ !missing-field! NSNetServicesErrorCode not bound !unknown-native-enum! NSBundleExecutableArchitecture bound -!missing-field! NSURLFileIdentifierKey not bound -!missing-field! NSURLVolumeMountFromLocationKey not bound -!missing-field! NSURLVolumeSubtypeKey not bound -!missing-field! NSURLVolumeTypeNameKey not bound diff --git a/tests/xtro-sharpie/tvOS-Foundation.todo b/tests/xtro-sharpie/tvOS-Foundation.todo index de34c023d0..1a1d342d2c 100644 --- a/tests/xtro-sharpie/tvOS-Foundation.todo +++ b/tests/xtro-sharpie/tvOS-Foundation.todo @@ -1,6 +1,2 @@ !missing-field! NSNetServicesErrorCode not bound !missing-selector! NSURLSession::getTasksWithCompletionHandler: not bound -!missing-field! NSURLFileIdentifierKey not bound -!missing-field! NSURLVolumeMountFromLocationKey not bound -!missing-field! NSURLVolumeSubtypeKey not bound -!missing-field! NSURLVolumeTypeNameKey not bound diff --git a/tests/xtro-sharpie/watchOS-Foundation.todo b/tests/xtro-sharpie/watchOS-Foundation.todo index b86e673e73..e69de29bb2 100644 --- a/tests/xtro-sharpie/watchOS-Foundation.todo +++ b/tests/xtro-sharpie/watchOS-Foundation.todo @@ -1,4 +0,0 @@ -!missing-field! NSURLFileIdentifierKey not bound -!missing-field! NSURLVolumeMountFromLocationKey not bound -!missing-field! NSURLVolumeSubtypeKey not bound -!missing-field! NSURLVolumeTypeNameKey not bound