-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CloudKit] Add support for Xcode13 beta1. #11961
Changes from 1 commit
110bfd7
e89fc18
f435b02
8ea5c62
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,9 @@ public enum CKAccountStatus : long { | |
CouldNotDetermine = 0, | ||
Available = 1, | ||
Restricted = 2, | ||
NoAccount = 3 | ||
NoAccount = 3, | ||
[Mac(12,0), iOS(15,0), TV(15,0), MacCatalyst(15,0)] | ||
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
TemporarilyUnavailable = 4, | ||
} | ||
|
||
// NSUInteger -> CKContainer.h | ||
|
@@ -82,6 +84,8 @@ public enum CKErrorCode : long { | |
ParticipantMayNeedVerification = 33, | ||
ResponseLost = 34, | ||
AssetNotAvailable = 35, | ||
[Mac(12,0), iOS(15,0), TV(15,0), MacCatalyst (15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not needed
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
TemporarilyUnavailable = 36, | ||
} | ||
|
||
// NSInteger -> CKModifyRecordsOperation.h | ||
|
@@ -127,7 +131,11 @@ public enum CKQueryNotificationReason : long { | |
public enum CKRecordZoneCapabilities : ulong { | ||
FetchChanges = 1 << 0, | ||
Atomic = 1 << 1, | ||
[iOS (10,0), TV (10,0), Mac (10,12)] Sharing = 1 << 2, | ||
[iOS (10,0), TV (10,0), Mac (10,12)] | ||
Sharing = 1 << 2, | ||
[Mac(12,0), iOS(15,0), TV(15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. minor: space before
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
ZoneWideSharing = 1 << 3, | ||
|
||
} | ||
|
||
// NSUInteger -> CKReference.h | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,6 +90,10 @@ interface CKShareMetadata : NSCopying, NSSecureCoding | |
[Export ("share", ArgumentSemantic.Strong)] | ||
CKShare Share { get; } | ||
|
||
[Deprecated (PlatformName.WatchOS, 8, 0, message: "Use 'HierarchicalRootRecordId' instead.")] | ||
[Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'HierarchicalRootRecordId' instead.")] | ||
[Deprecated (PlatformName.iOS, 15, 0, message: "Use 'HierarchicalRootRecordId' instead.")] | ||
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'HierarchicalRootRecordId' instead.")] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if the type was implied to be in Catalyst then you need to have a deprecation for it too |
||
[Export ("rootRecordID", ArgumentSemantic.Copy)] | ||
CKRecordID RootRecordID { get; } | ||
|
||
|
@@ -115,6 +119,10 @@ interface CKShareMetadata : NSCopying, NSSecureCoding | |
|
||
[NullAllowed, Export ("rootRecord", ArgumentSemantic.Strong)] | ||
CKRecord RootRecord { get; } | ||
|
||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. minor: space before
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[NullAllowed, Export ("hierarchicalRootRecordID", ArgumentSemantic.Copy)] | ||
CKRecordID HierarchicalRootRecordId { get; } | ||
} | ||
|
||
[iOS (10,0), Watch (3,0), TV (10,0), Mac (10,12)] | ||
|
@@ -129,6 +137,11 @@ interface CKShare | |
[DesignatedInitializer] | ||
IntPtr Constructor (CKRecord rootRecord, CKRecordID shareID); | ||
|
||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. minor: space before
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[Export ("initWithRecordZoneID:")] | ||
[DesignatedInitializer] | ||
IntPtr Constructor (CKRecordZoneID recordZoneId); | ||
|
||
[Export ("publicPermission", ArgumentSemantic.Assign)] | ||
CKShareParticipantPermission PublicPermission { get; set; } | ||
|
||
|
@@ -457,6 +470,10 @@ interface CKErrorFields { | |
|
||
[Field ("CKErrorRetryAfterKey")] | ||
NSString ErrorRetryAfterKey { get; } | ||
|
||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ?
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[Field ("CKErrorUserDidResetEncryptedDataKey")] | ||
NSString UserDidResetEncryptedDataKey { get; } | ||
} | ||
|
||
[iOS (8,0), Watch (3,0), TV (10,0), Mac (10,10)] | ||
|
@@ -575,6 +592,9 @@ CKFetchRecordChangesHandler AllChangesReported { | |
[iOS (10,0), Watch (3,0), TV (10,0), Mac (10,12)] | ||
delegate void CKFetchRecordZoneChangesFetchCompletedHandler (CKRecordZoneID recordZoneID, CKServerChangeToken serverChangeToken, NSData clientChangeTokenData, bool moreComing, NSError recordZoneError); | ||
|
||
[iOS (15,0), Watch (8,0), TV (15,0), Mac (12,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ?
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
delegate void CKFetchRecordZoneChangesRecordWasChangedHandler (CKRecordID recordId, CKRecord record, NSError error); | ||
|
||
[iOS (10,0), Watch (3,0), TV (10,0), Mac (10,12)] | ||
[BaseType (typeof(CKDatabaseOperation))] | ||
[DisableDefaultCtor] // designated | ||
|
@@ -613,6 +633,10 @@ interface CKFetchRecordZoneChangesOperation | |
[Export ("fetchAllChanges")] | ||
bool FetchAllChanges { get; set; } | ||
|
||
[Deprecated (PlatformName.WatchOS, 8, 0, message: "Use 'RecordWasChangedHandler' instead.")] | ||
[Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'RecordWasChangedHandler' instead.")] | ||
[Deprecated (PlatformName.iOS, 15, 0, message: "Use 'RecordWasChangedHandler' instead.")] | ||
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'RecordWasChangedHandler' instead.")] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if the type was implied to be in Catalyst then you need to have a deprecation for it too |
||
[NullAllowed, Export ("recordChangedBlock", ArgumentSemantic.Copy)] | ||
Action<CKRecord> RecordChanged { get; set; } | ||
|
||
|
@@ -627,6 +651,11 @@ interface CKFetchRecordZoneChangesOperation | |
|
||
[NullAllowed, Export ("fetchRecordZoneChangesCompletionBlock", ArgumentSemantic.Copy)] | ||
Action<NSError> ChangesCompleted { get; set; } | ||
|
||
[NullAllowed] | ||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ?
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[Export ("recordWasChangedBlock", ArgumentSemantic.Copy)] | ||
CKFetchRecordZoneChangesRecordWasChangedHandler RecordWasChangedHandler { get; set; } | ||
} | ||
|
||
[Deprecated (PlatformName.WatchOS, 5, 0, message: "Use 'CKFetchRecordZoneChangesConfiguration' instead.")] | ||
|
@@ -713,6 +742,9 @@ CKFetchRecordsCompletedHandler Completed { | |
[iOS (8,0), Mac (10,10)] | ||
delegate void CKRecordZoneCompleteHandler (NSDictionary recordZonesByZoneId, NSError operationError); | ||
|
||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ?
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
delegate void CKRecordZonePerRecordZoneCompletionHandler (CKRecordZoneID recordZoneId, CKRecordZone recordZone, NSError error); | ||
|
||
[iOS (8,0), Watch (3,0), TV (10,0), Mac (10,10)] | ||
[BaseType (typeof (CKDatabaseOperation))] | ||
#if WATCH | ||
|
@@ -739,12 +771,20 @@ CKRecordZoneCompleteHandler Completed { | |
[Static] | ||
[Export ("fetchAllRecordZonesOperation")] | ||
CKFetchRecordZonesOperation FetchAllRecordZonesOperation (); | ||
|
||
[NullAllowed] | ||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missing space before
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[Export ("perRecordZoneCompletionBlock", ArgumentSemantic.Copy)] | ||
CKRecordZonePerRecordZoneCompletionHandler PerRecordZoneCompletionHandler { get; set; } | ||
} | ||
|
||
[NoWatch] | ||
[iOS (8,0), Mac (10,10)] | ||
delegate void CKFetchSubscriptionsCompleteHandler (NSDictionary subscriptionsBySubscriptionId, NSError operationError); | ||
|
||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ?
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
delegate void CKFetchSubscriptionsPerSubscriptionCompletionHandler (NSString subscriptionId, CKSubscription subscription, NSError error); | ||
|
||
[iOS (8,0), Mac (10,10)] | ||
[Watch (6,0)] | ||
[BaseType (typeof (CKDatabaseOperation))] | ||
|
@@ -772,6 +812,11 @@ CKFetchSubscriptionsCompleteHandler Completed { | |
[Static] | ||
[Export ("fetchAllSubscriptionsOperation")] | ||
CKFetchSubscriptionsOperation FetchAllSubscriptionsOperation (); | ||
|
||
[NullAllowed] | ||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missing space before
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[Export ("perSubscriptionCompletionBlock", ArgumentSemantic.Copy)] | ||
CKFetchSubscriptionsPerSubscriptionCompletionHandler PerSubscriptionCompletionHandler { get; set; } | ||
} | ||
|
||
[iOS (8,0), Watch (3,0), TV (10,0), Mac (10,10)] | ||
|
@@ -847,6 +892,12 @@ Action<NSError> Completed { | |
[iOS (8,0), Mac (10,10), Watch (3,0)] | ||
delegate void CKModifyRecordsOperationHandler (CKRecord [] savedRecords, CKRecordID [] deletedRecordIds, NSError operationError); | ||
|
||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ?
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
delegate void CKModifyRecordsOperationPerRecordSaveHandler (CKRecordID recordId, CKRecord record, NSError error); | ||
|
||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ?
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
delegate void CKModifyRecordsOperationPerRecordDeleteHandler (CKRecordID recordId, NSError error); | ||
|
||
[iOS (8,0), Watch (3,0), TV (10,0), Mac (10,10)] | ||
#if WATCH | ||
[DisableDefaultCtor] // does not work on watchOS, working stub provided to ease source compatibility | ||
|
@@ -881,6 +932,10 @@ Action<CKRecord,double> PerRecordProgress { | |
set; | ||
} | ||
|
||
[Deprecated (PlatformName.WatchOS, 8, 0, message: "Use 'PerRecordResultHandler' instead.")] | ||
[Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'PerRecordResultHandler' instead.")] | ||
[Deprecated (PlatformName.iOS, 15, 0, message: "Use 'PerRecordResultHandler' instead.")] | ||
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'PerRecordResultHandler' instead.")] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same (as before) |
||
[NullAllowed] // by default this property is null | ||
[Export ("perRecordCompletionBlock", ArgumentSemantic.Copy)] | ||
Action<CKRecord, NSError> PerRecordCompletion { | ||
|
@@ -897,12 +952,28 @@ CKModifyRecordsOperationHandler Completed { | |
|
||
[Export ("atomic")] | ||
bool Atomic { get; set; } | ||
|
||
[NullAllowed] | ||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missing space before
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[Export ("perRecordSaveBlock", ArgumentSemantic.Copy)] | ||
CKModifyRecordsOperationPerRecordSaveHandler PerRecordSaveHandler { get; set; } | ||
|
||
[NullAllowed] | ||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missing space before
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[Export ("perRecordDeleteBlock", ArgumentSemantic.Copy)] | ||
CKModifyRecordsOperationPerRecordDeleteHandler PerRecordDeleteHandler { get; set; } | ||
|
||
} | ||
|
||
[iOS (8,0), Mac (10,10)] | ||
delegate void CKModifyRecordZonesHandler (CKRecordZone [] savedRecordZones, CKRecordZoneID [] deletedRecordZoneIds, NSError operationError); | ||
|
||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ?
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
delegate void CKModifyRecordZonesPerRecordZoneSaveHandler (CKRecordZoneID zoneId, CKRecordZone zone, NSError error); | ||
|
||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ?
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
delegate void CKModifyRecordZonesPerRecordZoneDeleteHandler (CKRecordZoneID zoneId, NSError error); | ||
|
||
[iOS (8,0), Watch (3,0), TV (10,0), Mac (10,10)] | ||
#if WATCH | ||
[DisableDefaultCtor] // does not work on watchOS, working stub provided to ease source compatibility | ||
|
@@ -929,11 +1000,27 @@ CKModifyRecordZonesHandler Completed { | |
get; | ||
set; | ||
} | ||
|
||
[NullAllowed] | ||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missing space before `(1
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[Export ("perRecordZoneSaveBlock", ArgumentSemantic.Copy)] | ||
CKModifyRecordZonesPerRecordZoneSaveHandler PerRecordZoneSaveHandler { get; set; } | ||
|
||
[NullAllowed] | ||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missing space before `(1
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[Export ("perRecordZoneDeleteBlock", ArgumentSemantic.Copy)] | ||
CKModifyRecordZonesPerRecordZoneDeleteHandler PerRecordZoneDeleteHandler { get; set; } | ||
} | ||
|
||
[iOS (8,0), Mac (10,10)] | ||
delegate void CKModifySubscriptionsHandler (CKSubscription [] savedSubscriptions, string [] deletedSubscriptionIds, NSError operationError); | ||
|
||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ?
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
delegate void CKModifySubscriptionsPerSubscriptionSaveHandler (NSString subscriptionId, CKSubscription subscription, NSError error); | ||
|
||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ?
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
delegate void CKModifySubscriptionsPerSubscriptionDeleteHandler (NSString subscriptionId, NSError error); | ||
|
||
[iOS (8,0), Mac (10,10)] | ||
[Watch (6,0)] | ||
[BaseType (typeof (CKDatabaseOperation))] | ||
|
@@ -961,6 +1048,16 @@ CKModifySubscriptionsHandler Completed { | |
get; | ||
set; | ||
} | ||
|
||
[NullAllowed] | ||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missing space before
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[Export ("perSubscriptionSaveBlock", ArgumentSemantic.Copy)] | ||
CKModifySubscriptionsPerSubscriptionSaveHandler PerSubscriptionSaveHandler { get; set; } | ||
|
||
[NullAllowed] | ||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missing space before
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[Export ("perSubscriptionDeleteBlock", ArgumentSemantic.Copy)] | ||
CKModifySubscriptionsPerSubscriptionDeleteHandler PerSubscriptionDeleteHandler { get; set; } | ||
} | ||
|
||
[iOS (8,0), Watch (3,0), TV (10,0), Mac (10,10)] | ||
|
@@ -1257,6 +1354,9 @@ interface CKQuery : NSSecureCoding, NSCopying { | |
NSSortDescriptor [] SortDescriptors { get; set; } | ||
} | ||
|
||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ?
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
delegate void CKQueryOperationRecordMatchedHandler (CKRecordID recordId, CKRecord record, NSError error); | ||
|
||
[iOS (8,0), Watch (3,0), TV (10,0), Mac (10,10)] | ||
[BaseType (typeof (CKDatabaseOperation))] | ||
#if WATCH | ||
|
@@ -1293,6 +1393,10 @@ interface CKQueryOperation { | |
[Export ("desiredKeys", ArgumentSemantic.Copy)][NullAllowed] | ||
string [] DesiredKeys { get; set; } | ||
|
||
[Deprecated (PlatformName.WatchOS, 8, 0, message: "Use 'RecordMatchedHandler' instead.")] | ||
[Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'RecordMatchedHandler' instead.")] | ||
[Deprecated (PlatformName.iOS, 15, 0, message: "Use 'RecordMatchedHandler' instead.")] | ||
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'RecordMatchedHandler' instead.")] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ? |
||
[NullAllowed] // by default this property is null | ||
[Export ("recordFetchedBlock", ArgumentSemantic.Copy)] | ||
Action<CKRecord> RecordFetched { | ||
|
@@ -1306,6 +1410,11 @@ Action<CKQueryCursor, NSError> Completed { | |
get; | ||
set; | ||
} | ||
|
||
[NullAllowed] | ||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missing space before
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[Export ("recordMatchedBlock", ArgumentSemantic.Copy)] | ||
CKQueryOperationRecordMatchedHandler RecordMatchedHandler { get; set; } | ||
} | ||
|
||
[Watch (3,0)] | ||
|
@@ -1317,6 +1426,8 @@ interface CKRecordValue { | |
|
||
} | ||
|
||
interface ICKRecordValue { } | ||
|
||
[Watch (3,0)] | ||
[iOS (8,0), Mac (10,10)] | ||
[DisableDefaultCtor] // Crashes [CKRecord init] objc_exception_throw | ||
|
@@ -1338,6 +1449,10 @@ interface CKRecord : NSSecureCoding, NSCopying { | |
[Field ("CKRecordTypeShare")] | ||
NSString TypeShare { get; } | ||
|
||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ?
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[Field ("CKRecordNameZoneWideShare")] | ||
NSString NameZoneWideShare { get; } | ||
|
||
[Export ("initWithRecordType:")] | ||
IntPtr Constructor (string recordType); | ||
|
||
|
@@ -1457,6 +1572,10 @@ interface CKRecordZone : NSSecureCoding, NSCopying { | |
[Static] | ||
[Export ("defaultRecordZone")] | ||
CKRecordZone DefaultRecordZone (); | ||
|
||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do a find and replace :)
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[NullAllowed, Export ("share", ArgumentSemantic.Copy)] | ||
CKReference Share { get; } | ||
} | ||
|
||
[Watch (3,0)] | ||
|
@@ -1764,6 +1883,9 @@ interface CKDiscoverAllUserIdentitiesOperation | |
Action<NSError> Completed { get; set; } | ||
} | ||
|
||
[iOS (15,0), Watch (8,0), TV (15,0), Mac (12,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ?
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
delegate void CKFetchShareParticipantsOperationPerShareParticipantCompletionHandler (CKUserIdentityLookupInfo identityLookupInfo, CKShareParticipant participant, NSError error); | ||
|
||
[iOS (10,0), Watch (3,0), TV (10,0), Mac (10,12)] | ||
[BaseType (typeof(CKOperation))] | ||
[DisableDefaultCtor] // designated | ||
|
@@ -1780,11 +1902,20 @@ interface CKFetchShareParticipantsOperation | |
[Export ("userIdentityLookupInfos", ArgumentSemantic.Copy)] | ||
CKUserIdentityLookupInfo[] UserIdentityLookupInfos { get; set; } | ||
|
||
[Deprecated (PlatformName.WatchOS, 8, 0, message: "Use 'PerShareParticipantCompletionHandler' instead.")] | ||
[Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'PerShareParticipantCompletionHandler' instead.")] | ||
[Deprecated (PlatformName.iOS, 15, 0, message: "Use 'PerShareParticipantCompletionHandler' instead.")] | ||
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'PerShareParticipantCompletionHandler' instead.")] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. catalyst ? |
||
[NullAllowed, Export ("shareParticipantFetchedBlock", ArgumentSemantic.Copy)] | ||
Action<CKShareParticipant> Fetched { get; set; } | ||
|
||
[NullAllowed, Export ("fetchShareParticipantsCompletionBlock", ArgumentSemantic.Copy)] | ||
Action<NSError> Completed { get; set; } | ||
|
||
[NullAllowed] | ||
[iOS (15,0), Watch (8,0), TV (15,0), Mac (12,0), MacCatalyst(15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. f&r
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[Export ("perShareParticipantCompletionBlock", ArgumentSemantic.Copy)] | ||
CKFetchShareParticipantsOperationPerShareParticipantCompletionHandler PerShareParticipantCompletionBlock { get; set; } | ||
} | ||
|
||
[iOS (10,0), Watch (3,0), TV (10,0), Mac (10,12)] | ||
|
@@ -1885,5 +2016,9 @@ interface CKFetchDatabaseChangesOperation | |
|
||
[NullAllowed, Export ("fetchDatabaseChangesCompletionBlock", ArgumentSemantic.Copy)] | ||
CKFetchDatabaseChangesCompletionHandler ChangesCompleted { get; set; } | ||
|
||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. f&r
mandel-macaque marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[NullAllowed, Export ("recordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock", ArgumentSemantic.Copy)] | ||
Action<CKRecordZoneID> RecordZoneWithIdWasDeletedDueToUserEncryptedDataReset { get; set; } | ||
} | ||
} |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
## Not intended to be used directly by client code | ||
!missing-protocol! CKRecordKeyValueSetting not bound | ||
!missing-protocol-conformance! CKRecord should conform to CKRecordKeyValueSetting (defined in 'CKRecordKeyValueSettingConformance' category) | ||
!missing-selector! CKRecord::encryptedValues not bound | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not to be added due to the same reason, also intro says the type cannot be loaded. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is the comment above applicable here ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, same issue. |
||
|
||
## NSInvalidArgumentException Reason: You must call -[CKMarkNotificationsReadOperation initWithNotificationIDsToMarkRead:] | ||
!missing-selector! CKMarkNotificationsReadOperation::init not bound | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: space before
(
but that looks like an error enum... and those, being output only, do not need availability