Skip to content

Commit 9aeb542

Browse files
authored
[APINotes] Add CloudKit NS_SWIFT_NAME entries. (#3251)
(as requested by the CloudKit team) rdar://problem/27065698
1 parent dbb5c02 commit 9aeb542

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

apinotes/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ set(SWIFT_API_NOTES_INPUTS
22
AVFoundation
33
AppKit
44
AudioToolbox
5+
CloudKit
56
CoreData
67
CoreGraphics
78
CoreLocation

apinotes/CloudKit.apinotes

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
Name: CloudKit
3+
Classes:
4+
- Name: CKDatabase
5+
Methods:
6+
- Selector: 'fetchRecordWithID:completionHandler:'
7+
MethodKind: Instance
8+
SwiftName: 'fetch(withRecordID:completionHandler:)'
9+
- Selector: 'deleteRecordWithID:completionHandler:'
10+
MethodKind: Instance
11+
SwiftName: 'delete(withRecordID:completionHandler:)'
12+
- Selector: 'fetchRecordZoneWithID:completionHandler:'
13+
MethodKind: Instance
14+
SwiftName: 'fetch(withRecordZoneID:completionHandler:)'
15+
- Selector: 'deleteRecordZoneWithID:completionHandler:'
16+
MethodKind: Instance
17+
SwiftName: 'delete(withRecordZoneID:completionHandler:)'
18+
- Selector: 'fetchSubscriptionWithID:completionHandler:'
19+
MethodKind: Instance
20+
SwiftName: 'fetch(withSubscriptionID:completionHandler:)'
21+
- Selector: 'deleteSubscriptionWithID:completionHandler:'
22+
MethodKind: Instance
23+
SwiftName: 'delete(withSubscriptionID:completionHandler:)'
24+
- Name: CKFetchRecordsOperation
25+
Methods:
26+
- Selector: 'fetchCurrentUserRecordOperation'
27+
MethodKind: Class
28+
SwiftName: 'fetchCurrentUserRecordOperation()'
29+
- Name: CKFetchRecordZonesOperation
30+
Methods:
31+
- Selector: 'fetchAllRecordZonesOperation'
32+
MethodKind: Class
33+
SwiftName: 'fetchAllRecordZonesOperation()'
34+
- Name: CKFetchSubscriptionsOperation
35+
Methods:
36+
- Selector: 'fetchAllSubscriptionsOperation'
37+
MethodKind: Class
38+
SwiftName: 'fetchAllSubscriptionsOperation()'
39+
- Name: CKRecord
40+
Methods:
41+
- Selector: 'setParentReferenceFromRecord:'
42+
MethodKind: Instance
43+
SwiftName: 'setParent(_:)'
44+
- Selector: 'setParentReferenceFromRecordID:'
45+
MethodKind: Instance
46+
SwiftName: 'setParent(_:)'

0 commit comments

Comments
 (0)