peachsim 0.1.2428 → 0.1.2429

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +1 -1
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +1 -1
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +1 -1
  13. package/dist-lib/bundle-channel.cjs +173 -66
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +1 -1
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +1 -1
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +1 -1
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +1 -1
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +1 -1
  24. package/dist-lib/detox/index.cjs +2 -2
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/expo-swift-bundle.cjs +163 -56
  27. package/dist-lib/expo-swift-metadata.cjs +1 -1
  28. package/dist-lib/expo-swift-metadata.mjs +1 -1
  29. package/dist-lib/home-paths.cjs +1 -1
  30. package/dist-lib/host/bridge-host.cjs +181 -74
  31. package/dist-lib/host/fetch-proxy-handler.cjs +6 -6
  32. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  34. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  35. package/dist-lib/host/websocket-proxy.cjs +1 -1
  36. package/dist-lib/index.cjs +9 -6
  37. package/dist-lib/jump-to-source-babel.cjs +1 -1
  38. package/dist-lib/jump-to-source-native.cjs +1 -1
  39. package/dist-lib/kotlin-host.cjs +1 -1
  40. package/dist-lib/menu.cjs +1 -1
  41. package/dist-lib/menu.mjs +1 -1
  42. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  44. package/dist-lib/metro-production-bundle.cjs +1 -1
  45. package/dist-lib/metro-production-bundle.mjs +1 -1
  46. package/dist-lib/metro.cjs +9 -6
  47. package/dist-lib/native-app-identity-project.cjs +6 -3
  48. package/dist-lib/native-app-identity-project.mjs +6 -3
  49. package/dist-lib/native-app-identity.cjs +1 -1
  50. package/dist-lib/native-app-identity.mjs +1 -1
  51. package/dist-lib/native-firebase-metadata.cjs +1 -1
  52. package/dist-lib/native-firebase-metadata.mjs +1 -1
  53. package/dist-lib/pdfium-raster.cjs +1 -1
  54. package/dist-lib/pdfium-raster.mjs +1 -1
  55. package/dist-lib/plist.cjs +1 -1
  56. package/dist-lib/plist.mjs +1 -1
  57. package/dist-lib/profiles.cjs +1 -1
  58. package/dist-lib/public-brand.cjs +1 -1
  59. package/dist-lib/public-origins-lib-esm.json +24 -24
  60. package/dist-lib/public-origins-lib.json +53 -53
  61. package/dist-lib/react-native-host-modules.cjs +1 -1
  62. package/dist-lib/react-native-host-modules.mjs +1 -1
  63. package/dist-lib/reap-browser.cjs +1 -1
  64. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  65. package/dist-lib/sdk.cjs +1 -1
  66. package/dist-lib/sdk.mjs +1 -1
  67. package/dist-lib/skills.cjs +194 -85
  68. package/dist-lib/swift-compile.cjs +35 -22
  69. package/dist-lib/swift-compile.mjs +35 -22
  70. package/dist-lib/swift-package.cjs +1 -1
  71. package/dist-lib/swift-package.mjs +1 -1
  72. package/dist-lib/swift-submit.cjs +1 -1
  73. package/dist-lib/swift-submit.mjs +1 -1
  74. package/dist-lib/swift-toolchain.cjs +1 -1
  75. package/dist-lib/swift.cjs +1 -1
  76. package/dist-lib/vite-swift.cjs +159 -52
  77. package/dist-lib/vite.cjs +6 -6
  78. package/dist-lib/worklet-executable.cjs +1 -1
  79. package/dist-lib/worklet-executable.mjs +1 -1
  80. package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +2 -2
  81. package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +7 -0
  82. package/dist-types/packages/peach-globals/src/globalsContract.d.ts +2 -0
  83. package/dist-types/packages/peach-globals/src/index.d.ts +1 -0
  84. package/dist-types/packages/peach-globals/src/locationBridgeContract.d.ts +20 -0
  85. package/package.json +1 -1
  86. package/runtime-companion.json +1 -1
  87. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/CoreData.h +3 -0
  88. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSEntityMigrationPolicy.h +17 -0
  89. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObject.h +2 -0
  90. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectContext.h +6 -0
  91. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentContainer.h +15 -0
  92. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreDescription.h +10 -0
  93. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h +1 -1
  94. package/sdk/ios/System/Library/Frameworks/CoreServices.framework/Modules/module.modulemap +5 -0
  95. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSBase.h +28 -0
  96. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSImportExtension.h +21 -0
  97. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSIndexExtensionRequestHandler.h +17 -0
  98. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSPerson.h +28 -0
  99. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchQuery.h +77 -0
  100. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableIndex.h +154 -0
  101. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableIndexDescription.h +19 -0
  102. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItem.h +86 -0
  103. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet.h +95 -0
  104. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Categories.h +19 -0
  105. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Documents.h +71 -0
  106. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Events.h +34 -0
  107. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_General.h +138 -0
  108. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Images.h +116 -0
  109. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Media.h +235 -0
  110. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Messaging.h +99 -0
  111. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Places.h +96 -0
  112. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSuggestion.h +37 -0
  113. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSUserQuery.h +73 -0
  114. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CoreSpotlight.apinotes +26 -0
  115. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CoreSpotlight.h +29 -0
  116. package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Modules/module.modulemap +5 -0
  117. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h +1 -1
  118. package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h +1 -1
  119. package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h +1 -1
  120. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKBackForwardList.h +1 -1
  121. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKBackForwardListItem.h +1 -1
  122. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentRuleList.h +1 -1
  123. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentRuleListStore.h +1 -1
  124. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentWorld.h +1 -1
  125. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentWorldConfiguration.h +1 -1
  126. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContextMenuElementInfo.h +1 -1
  127. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKDOMNodeSnapshot.h +1 -1
  128. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKDownload.h +1 -1
  129. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFindConfiguration.h +1 -1
  130. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFindResult.h +1 -1
  131. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFormInfo.h +1 -1
  132. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFrameInfo.h +1 -1
  133. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKHTTPCookieStore.h +1 -1
  134. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKJSHandle.h +1 -1
  135. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigation.h +1 -1
  136. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationAction.h +1 -1
  137. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationResponse.h +1 -1
  138. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKOpenPanelParameters.h +1 -1
  139. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPDFConfiguration.h +1 -1
  140. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h +1 -1
  141. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPreviewElementInfo.h +1 -1
  142. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKProcessPool.h +1 -1
  143. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKScriptMessage.h +1 -1
  144. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKSecurityOrigin.h +1 -1
  145. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKSnapshotConfiguration.h +1 -1
  146. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKUserContentController.h +1 -1
  147. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKUserScript.h +1 -1
  148. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtension.h +1 -1
  149. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionContext.h +1 -1
  150. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionController.h +1 -1
  151. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionControllerConfiguration.h +1 -1
  152. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionMatchPattern.h +1 -1
  153. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h +2 -2
  154. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h +1 -1
  155. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h +1 -1
  156. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h +1 -1
  157. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h +1 -1
  158. package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWindowFeatures.h +1 -1
  159. package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/CLLocationEssentials.h +3 -3
  160. package/src/core-data-model.ts +112 -5
  161. package/src/swift-compile.ts +34 -11
  162. package/src/swift-objc-import.ts +19 -13
  163. package/src/xcode-project.ts +5 -0
@@ -0,0 +1,235 @@
1
+ //
2
+ // CSSearchableItemAttributeSet_Media.h
3
+ // CoreSpotlight
4
+ //
5
+ // Copyright © 2015–2026 Apple. All rights reserved.
6
+ //
7
+
8
+ #import <CoreSpotlight/CSSearchableItemAttributeSet.h>
9
+
10
+ #import <Foundation/Foundation.h>
11
+
12
+ NS_ASSUME_NONNULL_BEGIN
13
+
14
+ API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0))
15
+ API_UNAVAILABLE(tvos, watchos)
16
+ @interface CSSearchableItemAttributeSet (CSMedia)
17
+
18
+ //The list of editor/editors that have worked on this item.
19
+ @property(nullable, copy) NSArray<NSString*> *editors;
20
+
21
+ //The list of people who are visible in an image or movie or written about in a document.
22
+ @property(nullable, copy) NSArray<NSString*> *participants;
23
+
24
+ //The list of projects that this item is part of.
25
+ //For example if you were working on a movie, all of the movie files could be marked
26
+ //as belonging to the project "My movie"
27
+ @property(nullable, copy) NSArray<NSString*> *projects;
28
+
29
+ //This attribute indicates where the item was obtained from.
30
+ //Examples:
31
+ //- downloaded file may refer to the site they were downloaded from,the refering URL, etc
32
+ //- files received by email may indicate who sent the file, the message subject, etc
33
+ @property(nullable, copy) NSArray<NSString*> *contentSources;
34
+
35
+ //This is a comment related to a file.
36
+ @property(nullable, copy) NSString *comment;
37
+
38
+ //This is the copyright of the content.
39
+ @property(nullable, copy) NSString *copyright;
40
+
41
+ //This is the date that the item was last used
42
+ @property(nullable, strong) NSDate *lastUsedDate;
43
+
44
+ //This is the date that the contents of the item were created
45
+ @property(nullable, strong) NSDate *contentCreationDate;
46
+
47
+ //This is the date that the contents of the item were last modified
48
+ @property(nullable, strong) NSDate *contentModificationDate;
49
+
50
+ //This is the date that the item was moved into the current location.
51
+ @property(nullable, strong) NSDate *addedDate;
52
+
53
+ // This is the date that the file was last downloaded / received.
54
+ @property(nullable, strong) NSDate *downloadedDate;
55
+
56
+ //This is the duration, in seconds, of the content of the item (if appropriate).
57
+ @property(nullable, strong) NSNumber *duration;
58
+
59
+ //A list of contacts that are somehow associated with this document, beyond what is captured as Author.
60
+ @property(nullable, copy) NSArray<NSString*> *contactKeywords;
61
+
62
+ //The codecs used to encode/decode the media
63
+ @property(nullable, copy) NSArray<NSString*> *codecs;
64
+
65
+ //Media types present in the content
66
+ @property(nullable, copy) NSArray<NSString*> *mediaTypes;
67
+
68
+ //Whether the content is prepared for streaming. Should be 0 for not streamable, 1 for streamable.
69
+ @property (nullable, strong, getter=isStreamable) NSNumber *streamable;
70
+
71
+ //The total bit rate (audio & video combined) of the media
72
+ @property(nullable, strong) NSNumber *totalBitRate;
73
+ //The video bit rate
74
+ @property(nullable, strong) NSNumber *videoBitRate;
75
+ //The audio bit rate
76
+ @property(nullable, strong) NSNumber *audioBitRate;
77
+
78
+ //The delivery type of the item. Should be 0 for fast start and 1 for RTSP.
79
+ @property(nullable, strong) NSNumber *deliveryType;
80
+
81
+ //Used to indicate company/Organization that created the document.
82
+ @property(nullable, copy) NSArray<NSString*> *organizations;
83
+
84
+ //Used to indicate the role of the document creator
85
+ @property(nullable, copy) NSString *role;
86
+
87
+ //Used to designate the languages of the intellectual content of the
88
+ //resource. Recommended best practice for the values of the Language
89
+ //element is defined by BCP 47.
90
+ @property(nullable, copy) NSArray<NSString*> *languages;
91
+
92
+ //Used to provide a link to information about rights held in and
93
+ //over the resource. Typically a Rights element will contain a
94
+ //rights management statement for the resource, or reference a
95
+ //service providing such information. Rights information often
96
+ //encompasses Intellectual Property Rights (IPR), Copyright, and
97
+ //various Property Rights. If the rights element is absent, no
98
+ //assumptions can be made about the status of these and other rights
99
+ //with respect to the resource.
100
+ @property(nullable, copy) NSString *rights;
101
+
102
+ //Used to designate the entity responsible for making the resource
103
+ //available. Examples of a Publisher include a person, an
104
+ //organization, or a service. Typically, the name of a Publisher
105
+ //should be used to indicate the entity.
106
+ @property(nullable, copy) NSArray<NSString*> *publishers;
107
+
108
+ //Used to designate the entity responsible for making contributions
109
+ //to the content of the resource. Examples of a Contributor include
110
+ //a person, an organization or a service. Typically, the name of a
111
+ //Contributor should be used to indicate the entity.
112
+ @property(nullable, copy) NSArray<NSString*> *contributors;
113
+
114
+ //Used to designate the extent or scope of the content of the
115
+ //resource. Coverage will typically include spatial location
116
+ //(a place name or geographic co-ordinates), temporal period (a period label, date, or date range)
117
+ //or jurisdiction (such as a named administrative entity).
118
+ //Recommended best practice is to select a value from a controlled vocabulary, and that, where appropriate,
119
+ //named places or time periods be used in preference to numeric identifiers such as sets of co-ordinates or date ranges.
120
+ @property(nullable, copy) NSArray<NSString*> *coverage;
121
+
122
+ //User rating of this item out of 5 stars
123
+ @property(nullable, strong) NSNumber *rating;
124
+
125
+ //A description of the rating. E.g. the number of reviewers.
126
+ @property(nullable, copy) NSString *ratingDescription;
127
+
128
+ //User play count of this item
129
+ @property(nullable, strong) NSNumber *playCount;
130
+
131
+ //Information about the item
132
+ @property(nullable, copy) NSString *information;
133
+
134
+ //Director of the item (e.g. movie director)
135
+ @property(nullable, copy) NSString *director;
136
+
137
+ //Producer of the content
138
+ @property(nullable, copy) NSString *producer;
139
+
140
+ //Genre of the item (e.g. movie genre)
141
+ @property(nullable, copy) NSString *genre;
142
+
143
+ //Performers in the movie
144
+ @property(nullable, copy) NSArray<NSString*> *performers;
145
+
146
+ //Original format of the movie
147
+ @property(nullable, copy) NSString *originalFormat;
148
+
149
+ //Original source of the movie
150
+ @property(nullable, copy) NSString *originalSource;
151
+
152
+ //Whether or not the item is local. Should be 1 if true, 0 otherwise.
153
+ @property(nullable, strong, getter=isLocal) NSNumber *local;
154
+
155
+ //Whether or not the item has explicit content. Should be 1 if explicit, 0 for clean.
156
+ @property(nullable, strong) NSNumber *contentRating;
157
+
158
+ //URL of the item
159
+ @property(nullable, strong) NSURL *URL;
160
+
161
+ @end
162
+
163
+ API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0))
164
+ API_UNAVAILABLE(tvos, watchos)
165
+ @interface CSSearchableItemAttributeSet (CSMusic)
166
+
167
+ //The sample rate of the audio data contained in the file. The sample rate is a
168
+ //float value representing hz (audio_frames/second). For example: 44100.0, 22254.54.
169
+ @property(nullable, strong) NSNumber *audioSampleRate;
170
+
171
+ //The number of channels in the audio data contained in the file. This item only represents
172
+ //the number of discreet channels of audio data found in the file. It does not indicate
173
+ //any configuration of the data in regards to a user's speaker setup.
174
+ @property(nullable, strong) NSNumber *audioChannelCount;
175
+
176
+ //The tempo of the music contained in the audio file in Beats Per Minute.
177
+ @property(nullable, strong) NSNumber *tempo;
178
+
179
+ //The musical key of the song/composition contained in an audio file.
180
+ //For example: C, Dm, F#m, Bb.
181
+ @property(nullable, copy) NSString *keySignature;
182
+
183
+ //The time signature of the musical composition contained in the audio/MIDI file.
184
+ //For example: "4/4", "7/8".
185
+ @property(nullable, copy) NSString *timeSignature;
186
+
187
+ //The name of the application that encoded the data contained in the audio file.
188
+ @property(nullable, copy) NSString *audioEncodingApplication;
189
+
190
+ //The composer of the song/composition contained in the audio file.
191
+ @property(nullable, copy) NSString *composer;
192
+
193
+ //The lyricist/text writer for song/composition contained in the audio file.
194
+ @property(nullable, copy) NSString *lyricist;
195
+
196
+ //The title for a collection of media. This is analagous to a record album,
197
+ //or photo album whichs are collections of audio or images.
198
+ @property(nullable, copy) NSString *album;
199
+
200
+ //The artist for the media
201
+ @property(nullable, copy) NSString *artist;
202
+
203
+ //The track number of a song/composition when it is part of an album
204
+ @property(nullable, strong) NSNumber *audioTrackNumber;
205
+
206
+ //The recording date of the song/composition. This information differs from
207
+ //the contentCreationDate attribute as it indicates the date that the
208
+ //'art' was created, in contrast to contentCreationDate which for example, could indicate
209
+ //the creation date of an edited or 'mastered' version of the original art.
210
+ @property(nullable, strong) NSDate *recordingDate;
211
+
212
+ //The musical genre of the song/composition contained in the audio file.
213
+ //For example: Jazz, Pop, Rock, Classical.
214
+ @property(nullable, copy) NSString *musicalGenre;
215
+
216
+ //This attribute indicates whether the MIDI sequence contained in the file is setup for use with a General MIDI device. Should be 1 if true, 0 otherwise.
217
+ @property(nullable, strong,getter=isGeneralMIDISequence) NSNumber *generalMIDISequence;
218
+
219
+ //Meta data attribute that stores the category of
220
+ //instrument. Files should have an instrument associated with
221
+ //them ("Other Instrument" is provided as a catch-all). For some
222
+ //categories, like "Keyboards" there are instrument names which
223
+ //provide a more detailed instrument definition (e.g., Piano,Organ, etc.)
224
+ @property(nullable, copy) NSString *musicalInstrumentCategory;
225
+
226
+ //Meta data attribute that stores the name of instrument
227
+ //(relative to the instrument category) Files can have an
228
+ //instrument name associated with them if they have certain
229
+ //instrument categories (e.g., the category Percussion has
230
+ // multiple instruments, including Conga and Bongo).
231
+ @property(nullable, copy) NSString *musicalInstrumentName;
232
+
233
+ @end
234
+
235
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,99 @@
1
+ //
2
+ // CSSearchableItemAttributeSet_Messaging.h
3
+ // CoreSpotlight
4
+ //
5
+ // Copyright © 2015–2026 Apple. All rights reserved.
6
+ //
7
+
8
+ #import <CoreSpotlight/CSSearchableItemAttributeSet.h>
9
+ #import <CoreSpotlight/CSPerson.h>
10
+
11
+ #import <Foundation/Foundation.h>
12
+
13
+ NS_ASSUME_NONNULL_BEGIN
14
+
15
+ //Well-known mailbox identifiers
16
+ extern NSString * const CSMailboxInbox API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
17
+ extern NSString * const CSMailboxDrafts API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
18
+ extern NSString * const CSMailboxSent API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
19
+ extern NSString * const CSMailboxJunk API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
20
+ extern NSString * const CSMailboxTrash API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
21
+ extern NSString * const CSMailboxArchive API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
22
+
23
+ API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0))
24
+ API_UNAVAILABLE(tvos, watchos)
25
+ @interface CSSearchableItemAttributeSet (CSMessaging)
26
+
27
+ //Unique identifier for the account the item is associated with, if any
28
+ @property(nullable, copy) NSString *accountIdentifier;
29
+
30
+ //Array of the canonical handles of the account the item is associated with
31
+ //(IM handle, e-mail address, phone number...).
32
+ //E.g. in Mail's case, all the email addresses the account receives email on.
33
+ @property(nullable, copy) NSArray<NSString*> *accountHandles;
34
+
35
+ //Contains the HTML content of the document encoded as NSData of UTF-8 encoded string.
36
+ @property(nullable, copy) NSData *HTMLContentData;
37
+
38
+ //Contains the text content of the document.
39
+ @property(nullable, copy) NSString *textContent;
40
+
41
+ //An array of CSPerson objects representing the content of the From: field in an email
42
+ @property(nullable, copy) NSArray<CSPerson*> *authors;
43
+
44
+ //An array of CSPerson objects representing the content of the To: field in an email
45
+ @property(nullable, copy) NSArray<CSPerson*> *primaryRecipients;
46
+
47
+ //An array of CSPerson objects representing the content of the Cc: field in an email
48
+ @property(nullable, copy) NSArray<CSPerson*> *additionalRecipients;
49
+
50
+ //An array of CSPerson objects representing the content of the Bcc: field in an email
51
+ @property(nullable, copy) NSArray<CSPerson*> *hiddenAdditionalRecipients;
52
+
53
+ //Dictionary with all the headers of the message
54
+ //Keys are header names and values arrays of strings (because a header might be present multiple times in an email)
55
+ @property(nullable, copy) NSDictionary<NSString*,NSArray*> *emailHeaders;
56
+
57
+ //Array of Mailbox identifiers associated with the item. e.g. CSMailboxInbox, CSMailboxDrafts, CSMailboxSent, or a custom identifier etc.
58
+ @property(nullable, copy) NSArray<NSString*> *mailboxIdentifiers;
59
+
60
+ //The list of author/authors that have worked on this item.
61
+ //There could be 0 or more authors of a particular item.
62
+ //The order of the authors in the array is preserved, but is not intended to represent
63
+ //the main author or relative importance of the authors.
64
+ @property(nullable, copy) NSArray<NSString*> *authorNames;
65
+
66
+ //This attribute indicates the recipients of this item.
67
+ @property(nullable, copy) NSArray<NSString*> *recipientNames;
68
+
69
+ //This attribute indicates the author of the emails message addresses.
70
+ //(This is always the email address, and not the human readable version)
71
+ @property(nullable, copy) NSArray<NSString*> *authorEmailAddresses;
72
+
73
+ //This attribute indicates the recipients email addresses.
74
+ //(This is always the email address, and not the human readable version).
75
+ @property(nullable, copy) NSArray<NSString*> *recipientEmailAddresses;
76
+
77
+ //This attribute indicates the author addresses of the document.
78
+ @property(nullable, copy) NSArray<NSString*> *authorAddresses;
79
+
80
+ //This attribute indicates the recipient addresses of the document.
81
+ @property(nullable, copy) NSArray<NSString*> *recipientAddresses;
82
+
83
+ //Phone numbers for this item.
84
+ @property(nullable, copy) NSArray<NSString*> *phoneNumbers;
85
+
86
+ //Email addresses for this item.
87
+ @property(nullable, copy) NSArray<NSString*> *emailAddresses;
88
+
89
+ //Instant message addresses for this item.
90
+ @property(nullable, copy) NSArray<NSString*> *instantMessageAddresses;
91
+
92
+ //This attribute indicates if the document is likely to be considered junk. Should be 1 if true, 0 otherwise
93
+ @property(nonatomic, strong, getter=isLikelyJunk) NSNumber *likelyJunk;
94
+
95
+ @property(nonatomic, nullable, strong, readonly) NSNumber *isPriority API_AVAILABLE(macos(15.4), ios(18.4), visionos(2.4)) API_UNAVAILABLE(tvos, watchos);
96
+
97
+ @end
98
+
99
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,96 @@
1
+ //
2
+ // CSSearchableItemAttributeSet_Places.h
3
+ // CoreSpotlight
4
+ //
5
+ // Copyright © 2015–2026 Apple. All rights reserved.
6
+ //
7
+
8
+ #import <CoreSpotlight/CSSearchableItemAttributeSet.h>
9
+
10
+ #import <Foundation/Foundation.h>
11
+
12
+ API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0))
13
+ API_UNAVAILABLE(tvos, watchos)
14
+ @interface CSSearchableItemAttributeSet (CSPlaces)
15
+
16
+ //A publishable entry providing a synopsis of the contents of the item.
17
+ @property(nullable, copy) NSString *headline;
18
+
19
+ //Other editorial instructions concerning the use of the item, such as embargoes and warnings.
20
+ @property(nullable, copy) NSString *instructions;
21
+
22
+ //The location (e.g., street name) for the item according to guidelines established by the provider.
23
+ @property(nullable, copy) NSString *thoroughfare API_AVAILABLE(macos(10.12), ios(10.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
24
+
25
+ //The sub-location (e.g., street number) for the item according to guidelines established by the provider.
26
+ @property(nullable, copy) NSString *subThoroughfare API_AVAILABLE(macos(10.12), ios(10.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
27
+
28
+ //The postal code for the item according to guidelines established by the provider.
29
+ @property(nullable, copy) NSString *postalCode API_AVAILABLE(macos(10.12), ios(10.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
30
+
31
+ //Identifies city of item origin according to guidelines established by the provider.
32
+ @property(nullable, copy) NSString *city;
33
+
34
+ //Identifies Province/State of origin according to guidelines established by the provider.
35
+ @property(nullable, copy) NSString *stateOrProvince;
36
+
37
+ //Provides full, publishable, name of the country/primary location where the
38
+ //intellectual property of the item was created,according to guidelines of the provider.
39
+ @property(nullable, copy) NSString *country;
40
+
41
+ // The fully formatted address of the item (obtained from MapKit)
42
+ @property(nullable, copy) NSString *fullyFormattedAddress API_AVAILABLE(macos(10.12), ios(10.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
43
+
44
+ //The altitude of the item in meters above sea level, expressed
45
+ //using the WGS84 datum. Negative values lie below sea level.
46
+ @property(nullable, strong) NSNumber *altitude;
47
+
48
+ //The latitude of the item in degrees north of the equator, expressed
49
+ //using the WGS84 datum. Negative values lie south of the equator.
50
+ @property(nullable, strong) NSNumber *latitude;
51
+
52
+ //The longitude of the item in degrees east of the prime meridian,
53
+ //expressed using the WGS84 datum. Negative values lie west of the prime meridian.
54
+ @property(nullable, strong) NSNumber *longitude;
55
+
56
+ //The speed of the item, in kilometers per hour.
57
+ @property(nullable, strong) NSNumber *speed;
58
+
59
+ //The timestamp on the item. This generally is used to indicate the time at
60
+ //which the event captured by the item took place.
61
+ @property(nullable, strong) NSDate *timestamp;
62
+
63
+ //The direction of the item's image, in degrees from true north.
64
+ @property(nullable, strong) NSNumber *imageDirection;
65
+
66
+ //The name of the location or point of interest associated with the item. The name may be user provided.
67
+ @property(nullable, copy) NSString *namedLocation;
68
+
69
+ //The direction of travel of the item, in degrees from true north.
70
+ @property(nullable, strong) NSNumber *GPSTrack;
71
+
72
+ @property(nullable, copy) NSString *GPSStatus;
73
+
74
+ @property(nullable, copy) NSString *GPSMeasureMode;
75
+
76
+ @property(nullable, strong) NSNumber *GPSDOP;
77
+
78
+ @property(nullable, copy) NSString *GPSMapDatum;
79
+
80
+ @property(nullable, strong) NSNumber *GPSDestLatitude;
81
+
82
+ @property(nullable, strong) NSNumber *GPSDestLongitude;
83
+
84
+ @property(nullable, strong) NSNumber *GPSDestBearing;
85
+
86
+ @property(nullable, strong) NSNumber *GPSDestDistance;
87
+
88
+ @property(nullable, copy) NSString *GPSProcessingMethod;
89
+
90
+ @property(nullable, copy) NSString *GPSAreaInformation;
91
+
92
+ @property(nullable, strong) NSDate *GPSDateStamp;
93
+
94
+ @property(nullable, strong) NSNumber *GPSDifferental;
95
+
96
+ @end
@@ -0,0 +1,37 @@
1
+ //
2
+ // CSSuggestion.h
3
+ // CoreSpotlight
4
+ //
5
+ // Copyright © 2021–2026 Apple Inc. All rights reserved.
6
+ //
7
+
8
+ #import <Foundation/Foundation.h>
9
+
10
+ NS_ASSUME_NONNULL_BEGIN
11
+
12
+ NS_SWIFT_NAME(suggestionHighlight)
13
+ extern NSAttributedStringKey const CSSuggestionHighlightAttributeName API_AVAILABLE(macos(13.0), ios(16.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
14
+
15
+ API_AVAILABLE(macos(13.0), ios(16.0), visionos(1.0))
16
+ API_UNAVAILABLE(tvos, watchos)
17
+ typedef NS_ENUM(NSInteger, CSSuggestionKind) {
18
+ CSSuggestionKindNone,
19
+ CSSuggestionKindCustom,
20
+ CSSuggestionKindDefault,
21
+ } NS_SWIFT_NAME(CSSuggestion.SuggestionKind);
22
+
23
+ API_AVAILABLE(macos(13.0), ios(16.0), visionos(1.0))
24
+ API_UNAVAILABLE(tvos, watchos)
25
+ PEACH_SWIFT_CLASS(SwiftUI) @interface CSSuggestion : NSObject <NSSecureCoding, NSCopying>
26
+
27
+ @property (nonnull, nonatomic, readonly) NSAttributedString *localizedAttributedSuggestion NS_REFINED_FOR_SWIFT;
28
+ @property (nonatomic, readonly) CSSuggestionKind suggestionKind;
29
+
30
+ // For suggestions that have been ranked by the query
31
+ - (NSComparisonResult)compareByRank:(CSSuggestion *)other;
32
+
33
+ - (NSComparisonResult)compare:(CSSuggestion *)other;
34
+
35
+ @end
36
+
37
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,73 @@
1
+ //
2
+ // CSUserQuery.h
3
+ // CoreSpotlight
4
+ //
5
+ // Copyright © 2021–2026 Apple Inc. All rights reserved.
6
+ //
7
+
8
+ #import <CoreSpotlight/CSSearchQuery.h>
9
+ #import <CoreSpotlight/CSSuggestion.h>
10
+
11
+ #import <Foundation/Foundation.h>
12
+
13
+ NS_ASSUME_NONNULL_BEGIN
14
+
15
+ API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0))
16
+ API_UNAVAILABLE(tvos, watchos)
17
+ typedef NS_ENUM(NSInteger, CSUserInteraction) {
18
+ CSUserInteractionSelect,
19
+ CSUserInteractionDefault=CSUserInteractionSelect,
20
+ CSUserInteractionFocus,
21
+ } NS_SWIFT_NAME(CSUserQuery.UserInteractionKind);
22
+
23
+ API_AVAILABLE(macos(13.0), ios(16.0), visionos(1.0))
24
+ API_UNAVAILABLE(tvos, watchos)
25
+ PEACH_SWIFT_CLASS(SwiftUI) @interface CSUserQueryContext : CSSearchQueryContext
26
+
27
+ + (CSUserQueryContext *)userQueryContext;
28
+ + (CSUserQueryContext *)userQueryContextWithCurrentSuggestion:(CSSuggestion * _Nullable)currentSuggestion;
29
+
30
+ @property (nonatomic, assign) BOOL enableRankedResults;
31
+ @property (nonatomic, assign) BOOL disableSemanticSearch API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
32
+
33
+ // maxResultCount is maximum number of search results to retrieve. (defaults to 0)
34
+ // If maxResultCount == 0, Spotlight will retrieve all results related to query. (committed search)
35
+ @property (nonatomic, assign) NSInteger maxResultCount;
36
+
37
+ // maxSuggestionCount is maximum number of suggestion results to retrieve. (defaults to 0)
38
+ @property (nonatomic, assign) NSInteger maxSuggestionCount;
39
+
40
+ // maxRankedResultCount is maximum number of ranked search results to retrieve. (defaults to 100)
41
+ // If maxRankedResultCount > maxResultCount, Spotlight will rank maxResultCount results related to query.
42
+ @property (nonatomic, assign) NSInteger maxRankedResultCount API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
43
+
44
+ @end
45
+
46
+ API_AVAILABLE(macos(13.0), ios(16.0), visionos(1.0))
47
+ API_UNAVAILABLE(tvos, watchos)
48
+ PEACH_SWIFT_CLASS(SwiftUI) @interface CSUserQuery : CSSearchQuery
49
+
50
+ + (void)prepare API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
51
+
52
+ + (void)prepareProtectionClasses:(NSArray<NSFileProtectionType> *)protectionClasses API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
53
+
54
+ - (instancetype)initWithUserQueryString:(NSString * _Nullable)userQueryString userQueryContext:(CSUserQueryContext * _Nullable)userQueryContext NS_DESIGNATED_INITIALIZER;
55
+
56
+ // The query will update the count before each foundSuggestionsHandler invocation to reflect
57
+ // the number of suggestions found so far; if foundSuggestionsHandler is nil then the count will be zero.
58
+ @property (readonly) NSInteger foundSuggestionCount;
59
+
60
+ // The foundSuggestionsHandler may be invoked additional times as new suggestions are generated,
61
+ // but the value will always be a complete, ordered list. The query serializes all the foundSuggestionsHandler invocations. If no handler is set, suggestions will not be generated.
62
+ @property (nullable, copy) void (^foundSuggestionsHandler)(NSArray<CSSuggestion *> *suggestions);
63
+
64
+ - (void)userEngagedWithItem:(CSSearchableItem *)item visibleItems:(NSArray<CSSearchableItem *> *)visibleItems userInteractionType:(CSUserInteraction)userInteractionType NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
65
+
66
+ - (void)userEngagedWithSuggestion:(CSSuggestion *)suggestion visibleSuggestions:(NSArray<CSSuggestion *> *)visibleSuggestions userInteractionType:(CSUserInteraction)userInteractionType NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
67
+
68
+ - (void)start;
69
+ - (void)cancel;
70
+
71
+ @end
72
+
73
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,26 @@
1
+ ---
2
+ Name: CoreSpotlight
3
+ Tags:
4
+ - Name: CSIndexErrorCode
5
+ NSErrorDomain: CSIndexErrorDomain
6
+ - Name: CSSearchQueryErrorCode
7
+ NSErrorDomain: CSSearchQueryErrorDomain
8
+
9
+ SwiftVersions:
10
+ - Version: 3
11
+ Classes:
12
+ - Name: CSSearchableIndex
13
+ Methods:
14
+ - Selector: 'initWithName:protectionClass:'
15
+ MethodKind: Instance
16
+ ResultType: 'CSSearchableIndex * _Nonnull'
17
+ Parameters:
18
+ - Position: 0
19
+ Type: 'NSString * _Nonnull'
20
+ - Position: 1
21
+ Type: 'NSString * _Nullable'
22
+ - Name: CSSearchQuery
23
+ Properties:
24
+ - Name: protectionClasses
25
+ PropertyKind: Instance
26
+ Type: 'NSArray<NSString*> * _Nonnull'
@@ -0,0 +1,29 @@
1
+ //
2
+ // CoreSpotlight.h
3
+ // CoreSpotlight
4
+ //
5
+ // Copyright © 2014–2026 Apple Inc. All rights reserved.
6
+ //
7
+
8
+ #import <Foundation/Foundation.h>
9
+
10
+ //! Project version number for CoreSpotlight.
11
+ FOUNDATION_EXPORT double CoreSpotlightVersionNumber;
12
+
13
+ //! Project version string for CoreSpotlight.
14
+ FOUNDATION_EXPORT const unsigned char CoreSpotlightVersionString[];
15
+
16
+ #define CoreSpotlightAPIVersion 40
17
+
18
+ #import <CoreSpotlight/CSBase.h>
19
+ #import <CoreSpotlight/CSImportExtension.h>
20
+ #import <CoreSpotlight/CSIndexExtensionRequestHandler.h>
21
+ #import <CoreSpotlight/CSPerson.h>
22
+ #import <CoreSpotlight/CSSearchQuery.h>
23
+ #import <CoreSpotlight/CSSearchableIndex.h>
24
+ #import <CoreSpotlight/CSSearchableIndexDescription.h>
25
+ #import <CoreSpotlight/CSSearchableItem.h>
26
+ #import <CoreSpotlight/CSSearchableItemAttributeSet.h>
27
+ #import <CoreSpotlight/CSSearchableItemAttributeSet_Categories.h>
28
+ #import <CoreSpotlight/CSSuggestion.h>
29
+ #import <CoreSpotlight/CSUserQuery.h>
@@ -0,0 +1,5 @@
1
+ framework module CoreSpotlight [system] {
2
+ umbrella header "CoreSpotlight.h"
3
+ export *
4
+ module * { export * }
5
+ }
@@ -30,7 +30,7 @@ UIKIT_EXTERN const UIScrollViewDecelerationRate UIScrollViewDecelerationRateNorm
30
30
  UIKIT_EXTERN const UIScrollViewDecelerationRate UIScrollViewDecelerationRateFast API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
31
31
 
32
32
  /// Styles for a scroll view's edge effect.
33
- UIKIT_FINAL UIKIT_EXTERN NS_SWIFT_UI_ACTOR API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NAME(UIScrollEdgeEffect.Style)
33
+ UIKIT_FINAL UIKIT_EXTERN NS_SWIFT_UI_ACTOR API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NAME(__UIScrollEdgeEffectStyle)
34
34
  PEACH_SWIFT_CLASS(UIKitCore) @interface UIScrollEdgeEffectStyle : NSObject
35
35
 
36
36
  - (instancetype)init NS_UNAVAILABLE;
@@ -55,7 +55,7 @@ typedef NS_ENUM(NSInteger, UNAlertStyle) {
55
55
  } API_AVAILABLE(macos(10.14), ios(10.0)) API_UNAVAILABLE(watchos, tvos);
56
56
 
57
57
  API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58
- @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
58
+ PEACH_SWIFT_CLASS(SwiftUI) @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
59
59
 
60
60
  @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
61
61
 
@@ -36,7 +36,7 @@ static const UNAuthorizationOptions UNAuthorizationOptionNone NS_SWIFT_UNAVAILAB
36
36
  // UNNotificationRequests can be scheduled using UNUserNotificationCenter. They can also be sent to the device from a server using Apple Push Notification Service. If the application is authorized then the UNNotificationRequest will be used to create a UNNotification and it will be used to notify the user. If the user acts on the UNNotification then a UNNotificationResponse will be sent to the application.
37
37
 
38
38
  API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
39
- @interface UNUserNotificationCenter : NSObject
39
+ PEACH_SWIFT_CLASS(SwiftUI) @interface UNUserNotificationCenter : NSObject
40
40
 
41
41
  // The delegate can only be set from an application
42
42
  @property (NS_NONATOMIC_IOSONLY, nullable, weak) id <UNUserNotificationCenterDelegate> delegate;
@@ -34,7 +34,7 @@ NS_ASSUME_NONNULL_BEGIN
34
34
 
35
35
  WK_SWIFT_UI_ACTOR
36
36
  WK_EXTERN API_AVAILABLE(macos(10.10), ios(8.0))
37
- @interface WKBackForwardList : NSObject
37
+ PEACH_SWIFT_CLASS(WebKit) @interface WKBackForwardList : NSObject
38
38
 
39
39
  /*! @abstract The current item.
40
40
  */
@@ -33,7 +33,7 @@ NS_ASSUME_NONNULL_BEGIN
33
33
 
34
34
  WK_SWIFT_UI_ACTOR
35
35
  WK_EXTERN API_AVAILABLE(macos(10.10), ios(8.0))
36
- @interface WKBackForwardListItem : NSObject
36
+ PEACH_SWIFT_CLASS(WebKit) @interface WKBackForwardListItem : NSObject
37
37
 
38
38
  - (instancetype)init NS_UNAVAILABLE;
39
39
 
@@ -29,7 +29,7 @@
29
29
 
30
30
  WK_SWIFT_UI_ACTOR
31
31
  WK_EXTERN API_AVAILABLE(macos(10.13), ios(11.0))
32
- @interface WKContentRuleList : NSObject
32
+ PEACH_SWIFT_CLASS(WebKit) @interface WKContentRuleList : NSObject
33
33
 
34
34
  /*! @abstract A copy of the identifier of the content extension. */
35
35
  @property (nonatomic, readonly, copy) NSString *identifier;