blob: a37e6228b2940e82df5d97a89aea6f129fccb56f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ Parsed from CloudKit.framework CKDatabase.h }
{$ifdef TYPES}
type
CKDatabasePtr = ^CKDatabase;
{$endif}
{$ifdef CLASSES}
type
CKDatabase = objcclass external (NSObject)
public
function init: instancetype; message 'init';
procedure addOperation (operation: CKDatabaseOperation); message 'addOperation:';
end;
type
ConvenienceMethods = objccategory external (CKDatabase)
procedure fetchRecordWithID_completionHandler (recordID: CKRecordID; completionHandler: OpaqueCBlock); message 'fetchRecordWithID:completionHandler:';
procedure saveRecord_completionHandler (record_: CKRecord; completionHandler: OpaqueCBlock); message 'saveRecord:completionHandler:';
procedure deleteRecordWithID_completionHandler (recordID: CKRecordID; completionHandler: OpaqueCBlock); message 'deleteRecordWithID:completionHandler:';
procedure performQuery_inZoneWithID_completionHandler (query: CKQuery; zoneID: CKRecordZoneID; completionHandler: OpaqueCBlock); message 'performQuery:inZoneWithID:completionHandler:';
procedure fetchAllRecordZonesWithCompletionHandler (completionHandler: OpaqueCBlock); message 'fetchAllRecordZonesWithCompletionHandler:';
procedure fetchRecordZoneWithID_completionHandler (zoneID: CKRecordZoneID; completionHandler: OpaqueCBlock); message 'fetchRecordZoneWithID:completionHandler:';
procedure saveRecordZone_completionHandler (zone: CKRecordZone; completionHandler: OpaqueCBlock); message 'saveRecordZone:completionHandler:';
procedure deleteRecordZoneWithID_completionHandler (zoneID: CKRecordZoneID; completionHandler: OpaqueCBlock); message 'deleteRecordZoneWithID:completionHandler:';
procedure fetchSubscriptionWithID_completionHandler (subscriptionID: NSString; completionHandler: OpaqueCBlock); message 'fetchSubscriptionWithID:completionHandler:';
procedure fetchAllSubscriptionsWithCompletionHandler (completionHandler: OpaqueCBlock); message 'fetchAllSubscriptionsWithCompletionHandler:';
procedure saveSubscription_completionHandler (subscription: CKSubscription; completionHandler: OpaqueCBlock); message 'saveSubscription:completionHandler:';
procedure deleteSubscriptionWithID_completionHandler (subscriptionID: NSString; completionHandler: OpaqueCBlock); message 'deleteSubscriptionWithID:completionHandler:';
end;
{$endif}
|