Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/cloudkit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ interface CKShare
[Export ("publicPermission", ArgumentSemantic.Assign)]
CKShareParticipantPermission PublicPermission { get; set; }

[NullAllowed]
[Export ("URL", ArgumentSemantic.Copy)]
NSUrl Url { get; }

Expand Down Expand Up @@ -205,6 +206,7 @@ interface CKContainer {
[Export ("publicCloudDatabase")]
CKDatabase PublicCloudDatabase { get; }

[iOS (10, 0)][Mac (10,12)]
[Export ("sharedCloudDatabase")]
CKDatabase SharedCloudDatabase { get; }

Expand Down Expand Up @@ -593,6 +595,7 @@ interface CKFetchRecordZoneChangesOperation
[Export ("initWithRecordZoneIDs:optionsByRecordZoneID:")]
IntPtr Constructor (CKRecordZoneID[] recordZoneIDs, [NullAllowed] NSDictionary<CKRecordZoneID, CKFetchRecordZoneChangesOptions> optionsByRecordZoneID);

[NullAllowed]
[Export ("recordZoneIDs", ArgumentSemantic.Copy)]
CKRecordZoneID[] RecordZoneIDs { get; set; }

Expand Down Expand Up @@ -762,6 +765,7 @@ interface CKMarkNotificationsReadOperation {
[Export ("initWithNotificationIDsToMarkRead:")]
IntPtr Constructor (CKNotificationID [] notificationIds);

[NullAllowed]
[Export ("notificationIDs", ArgumentSemantic.Copy)]
CKNotificationID [] NotificationIds { get; set; }

Expand Down Expand Up @@ -1069,6 +1073,7 @@ interface CKOperation {

[iOS (9,3)][Mac (10,11,4)]
[TV (9,2)]
[NullAllowed]
[Export ("longLivedOperationWasPersistedBlock", ArgumentSemantic.Strong)]
Action LongLivedOperationWasPersistedCallback { get; set; }
}
Expand Down Expand Up @@ -1573,6 +1578,7 @@ interface CKFetchShareParticipantsOperation
[Export ("initWithUserIdentityLookupInfos:")]
IntPtr Constructor (CKUserIdentityLookupInfo[] userIdentityLookupInfos);

[NullAllowed]
[Export ("userIdentityLookupInfos", ArgumentSemantic.Copy)]
CKUserIdentityLookupInfo[] UserIdentityLookupInfos { get; set; }

Expand All @@ -1594,6 +1600,7 @@ interface CKAcceptSharesOperation
IntPtr Constructor (CKShareMetadata[] shareMetadatas);

[Export ("shareMetadatas", ArgumentSemantic.Copy)]
[NullAllowed]
CKShareMetadata[] ShareMetadatas { get; set; }

[NullAllowed, Export ("perShareCompletionBlock", ArgumentSemantic.Copy)]
Expand All @@ -1613,6 +1620,7 @@ interface CKFetchShareMetadataOperation
[Export ("initWithShareURLs:")]
IntPtr Constructor (NSUrl[] shareUrls);

[NullAllowed]
[Export ("shareURLs", ArgumentSemantic.Copy)]
NSUrl[] ShareUrls { get; set; }

Expand Down