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,95 @@
1
+ //
2
+ // CSSearchableItemAttributeSet.h
3
+ // CoreSpotlight
4
+ //
5
+ // Copyright © 2015–2026 Apple Inc. All rights reserved.
6
+ //
7
+
8
+ #import <Foundation/Foundation.h>
9
+ #import <UniformTypeIdentifiers/UniformTypeIdentifiers.h>
10
+
11
+ NS_ASSUME_NONNULL_BEGIN
12
+
13
+ // CSSearchableItemAttribute encapsulates a set of properties of an CSSearchableItem.
14
+ // CSSearchableItemAttribute set should only be mutated from one thread at a time. Concurrent access to properties has undefined behavior.
15
+ API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0))
16
+ API_UNAVAILABLE(tvos, watchos)
17
+ PEACH_SWIFT_CLASS(SwiftUI) @interface CSSearchableItemAttributeSet : NSObject <NSCopying,NSSecureCoding>
18
+
19
+ //Creates an attribute set for the given content type.
20
+ - (instancetype)initWithItemContentType:(nonnull NSString *)itemContentType API_DEPRECATED("Use initWithContentType instead", macos(10.11, API_TO_BE_DEPRECATED), ios(9.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(tvos, watchos);
21
+ - (instancetype)initWithContentType:(nonnull UTType *)contentType API_AVAILABLE(macos(11.0), ios(14.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
22
+
23
+ @end
24
+
25
+ //CSLocalizedString can be used in place of NSString to support localization
26
+ API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0))
27
+ API_UNAVAILABLE(tvos, watchos)
28
+ PEACH_SWIFT_CLASS(SwiftUI) @interface CSLocalizedString : NSString
29
+
30
+ //Takes a dictionary of preferred codes to the localized string for that language
31
+ - (instancetype)initWithLocalizedStrings:(NSDictionary *)localizedStrings;
32
+
33
+ //Returns the localized string for the current language
34
+ - (NSString *)localizedString;
35
+
36
+ @end
37
+
38
+ //CSCustomAttributeKey allows you to specify a custom attribute as well as various other properties of that attribute.
39
+ API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0))
40
+ API_UNAVAILABLE(tvos, watchos)
41
+ PEACH_SWIFT_CLASS(SwiftUI) @interface CSCustomAttributeKey : NSObject <NSCopying,NSSecureCoding>
42
+
43
+ - (instancetype)init NS_UNAVAILABLE;
44
+
45
+ //Key names should be ASCII only, with no punctuation other than '_'.
46
+ //It is recommended keys be of the form "com_mycompany_myapp_keyname"
47
+ //Keys starting with 'kMD' are reserved.
48
+ - (nullable instancetype)initWithKeyName:(NSString *)keyName;
49
+ - (nullable instancetype)initWithKeyName:(NSString *)keyName
50
+ searchable:(BOOL)searchable
51
+ searchableByDefault:(BOOL)searchableByDefault
52
+ unique:(BOOL)unique
53
+ multiValued:(BOOL)multiValued NS_DESIGNATED_INITIALIZER;
54
+
55
+ @property (readonly) NSString *keyName;
56
+
57
+ //Can this attribute be searched on? By default, YES
58
+ @property (readonly,getter=isSearchable) BOOL searchable;
59
+
60
+ //Is this property searchable by default? By default, NO
61
+ @property (readonly, getter=isSearchableByDefault) BOOL searchableByDefault;
62
+
63
+ //Should values be uniqued to save storage? By default, NO. Set this to YES when there is a small set of known values, or values are likely to be frequently repeating for other reasons.
64
+ @property (readonly, getter=isUnique) BOOL unique;
65
+
66
+ //Is this attribute expecting multiple values to be associated with it, i.e. are values arrays? By default, NO
67
+ @property (readonly, getter=isMultiValued) BOOL multiValued;
68
+
69
+ @end
70
+
71
+ //Use these methods to set custom attributes on an attribute set
72
+ //Values must be common plist types (NSString,NSNumber,NSNull,NSData,NSDate) or CSPerson, or arrays (NSArray) of these types.
73
+ API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0))
74
+ API_UNAVAILABLE(tvos, watchos)
75
+ @interface CSSearchableItemAttributeSet (CSCustomAttributes)
76
+
77
+ - (void)setValue:(nullable id<NSSecureCoding>)value forCustomKey:(CSCustomAttributeKey *)key;
78
+ - (nullable id<NSSecureCoding>)valueForCustomKey:(CSCustomAttributeKey *)key;
79
+
80
+ @end
81
+
82
+ //Attributes to be indexed for a given NSUserActivity
83
+ API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0))
84
+ API_UNAVAILABLE(tvos, watchos)
85
+ @interface NSUserActivity (CSSearchableItemAttributeSet)
86
+
87
+ @property (nullable, copy) CSSearchableItemAttributeSet *contentAttributeSet;
88
+
89
+ @end
90
+
91
+ NS_ASSUME_NONNULL_END
92
+
93
+ #ifndef CSSearchableItemAttributeSet_Categories_h
94
+ #import <CoreSpotlight/CSSearchableItemAttributeSet_Categories.h>
95
+ #endif
@@ -0,0 +1,19 @@
1
+ //
2
+ // CSSearchableItemAttributeSet_Categories.h
3
+ // CoreSpotlight
4
+ //
5
+ // Copyright © 2015–2023 Apple Inc. All rights reserved.
6
+ //
7
+
8
+ #ifndef CSSearchableItemAttributeSet_Categories_h
9
+ #define CSSearchableItemAttributeSet_Categories_h
10
+
11
+ #import <CoreSpotlight/CSSearchableItemAttributeSet_General.h>
12
+ #import <CoreSpotlight/CSSearchableItemAttributeSet_Documents.h>
13
+ #import <CoreSpotlight/CSSearchableItemAttributeSet_Events.h>
14
+ #import <CoreSpotlight/CSSearchableItemAttributeSet_Messaging.h>
15
+ #import <CoreSpotlight/CSSearchableItemAttributeSet_Media.h>
16
+ #import <CoreSpotlight/CSSearchableItemAttributeSet_Images.h>
17
+ #import <CoreSpotlight/CSSearchableItemAttributeSet_Places.h>
18
+
19
+ #endif /* CSSearchableItemAttributeSet_Categories_h */
@@ -0,0 +1,71 @@
1
+ //
2
+ // CSSearchableItemAttributeSet_Documents.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 (CSDocuments)
15
+
16
+ //Subject of this item.
17
+ @property(nullable, copy) NSString *subject;
18
+
19
+ //Theme of this item.
20
+ @property(nullable, copy) NSString *theme;
21
+
22
+ //An account of the content of the resource. Description may include
23
+ //but is not limited to: an abstract, table of contents, reference
24
+ //to a graphical representation of content or a free-text account of
25
+ //the content.
26
+ @property(nullable, copy) NSString *contentDescription;
27
+
28
+ //Used to reference to the resource within a given
29
+ //context. Recommended best practice is to identify the resource by
30
+ //means of a string or number conforming to a formal identification system.
31
+ @property(nullable, copy) NSString *identifier;
32
+
33
+ //A class of entity for whom the resource is intended or useful. A
34
+ //class of entity may be determined by the creator or the publisher
35
+ //or by a third party.
36
+ @property(nullable, copy) NSArray<NSString*> *audiences;
37
+
38
+ //Size of the document in MB.
39
+ @property(nullable, strong) NSNumber *fileSize;
40
+
41
+ //Number of pages in the item.
42
+ @property(nullable, strong) NSNumber *pageCount;
43
+
44
+ //Width in points (72 points per inch) of the document page
45
+ //(first page only for PDF's - other pages within the PDF may
46
+ //not be the same width).
47
+ @property(nullable, strong) NSNumber *pageWidth;
48
+
49
+ //Height in points (72 points per inch) of the document page
50
+ //(first page only for PDF's - other pages within the PDF may
51
+ //not be the same height).
52
+ @property(nullable, strong) NSNumber *pageHeight;
53
+
54
+ //Security (encryption) method used in the file
55
+ @property(nullable, strong) NSString *securityMethod;
56
+
57
+ //Application used to create the document content (e.g. "Word",
58
+ //"Framemaker", etc.).
59
+ @property(nullable, copy) NSString *creator;
60
+
61
+ //Software used to convert the original content into a PDF stream
62
+ //(e.g. "Distiller", etc.).
63
+ @property(nullable, copy) NSArray<NSString*> *encodingApplications;
64
+
65
+ //Kind that this item represents.
66
+ @property(nullable, copy) NSString *kind;
67
+
68
+ //Array of font names used in the item.
69
+ @property(nullable, copy) NSArray<NSString*> *fontNames;
70
+
71
+ @end
@@ -0,0 +1,34 @@
1
+ //
2
+ // CSSearchableItemAttributeSet_Events.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 (CSEvents)
15
+
16
+ //Date this item is due.
17
+ @property(nullable, strong) NSDate *dueDate;
18
+
19
+ //Date the item was completed
20
+ @property(nullable, strong) NSDate *completionDate;
21
+
22
+ //Start date of this item.
23
+ @property(nullable, strong) NSDate *startDate;
24
+
25
+ //End date for this item.
26
+ @property(nullable, strong) NSDate *endDate;
27
+
28
+ //Important dates associated with this item
29
+ @property(nullable, copy) NSArray<NSDate *> *importantDates;
30
+
31
+ //Whether this event covers complete days
32
+ @property(nullable, strong) NSNumber *allDay;
33
+
34
+ @end
@@ -0,0 +1,138 @@
1
+ //
2
+ // CSSearchableItemAttributeSet_General.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 (CSGeneral)
15
+
16
+ //A localized string to be displayed in the UI for this item.
17
+ @property(nullable, copy) NSString *displayName;
18
+
19
+ //An array of localized strings of alternate display names for this item.
20
+ @property(nullable, copy) NSArray<NSString*> *alternateNames;
21
+
22
+ //This is the complete path to the item.
23
+ @property(nullable, copy) NSString *path;
24
+
25
+ //Optional file URL representing the content to be indexed
26
+ //Applications that are also 'Documents & Data' clients can set this property to allow Spotlight to deduplicate
27
+ //their searchable items against the iCloud Drive's items. When this property is set, Spotlight will not display
28
+ //the iCloud Drive's searchable items that have the same contentURL property.
29
+ @property(nullable, strong) NSURL *contentURL;
30
+
31
+ //Optional file URL pointing to a thumbnail image for this item
32
+ @property(nullable, strong) NSURL *thumbnailURL;
33
+
34
+ //Optional image data for thumbnail for this item
35
+ @property(nullable, copy) NSData *thumbnailData;
36
+
37
+ // Optional file URL pointing to a thumbnail image for this item that will be preferred in dark appearances
38
+ @property(nullable, strong) NSURL * darkThumbnailURL API_AVAILABLE(macos(12.0), ios(15.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
39
+
40
+ //For activities, this is the unique identifier for the item this activity is related to. If the item doesn't exist in the index, the activity will not get stored. When the item is deleted, the activity will also be deleted.
41
+ @property(nullable, copy) NSString *relatedUniqueIdentifier;
42
+
43
+ //For activities, this is the unique identifier for an item this activity is related to. Unlike relatedUniqueIdentifier, this attribute does not link the life time of the items.
44
+ @property(nullable, copy) NSString *weakRelatedUniqueIdentifier API_AVAILABLE(macos(10.12), ios(10.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
45
+
46
+ //This is the date that the last metadata attribute was changed.
47
+ @property(nullable, strong) NSDate *metadataModificationDate;
48
+
49
+ //UTI Type pedigree for an item. Common types can be found in UTCoreTypes.h
50
+ @property(nullable, copy) NSString *contentType;
51
+
52
+ @property(nullable, copy) NSArray<NSString*> *contentTypeTree;
53
+
54
+ //Represents keywords associated with this particular item.
55
+ //Example Keywords might be Birthday,Important etc.
56
+ @property(nullable, copy) NSArray<NSString*> *keywords;
57
+
58
+ //The title of this particular item.
59
+ //Title of the document, or it could be the title of this mp3 or a subject of a mail message.
60
+ @property(nullable, copy) NSString *title;
61
+
62
+ //A version specifier for this item.
63
+ @property(nullable, copy) NSString *version;
64
+
65
+ //This property is used to indicate if the indexed item was created by the user
66
+ //It is used to distinguish pushed app content from content that required explicit user interaction
67
+ //Example content that may set this field: user created notes, documents
68
+ @property(nullable, strong, getter=isUserCreated) NSNumber *userCreated API_AVAILABLE(macos(10.13), ios(11.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
69
+
70
+ //This property is used to indicate if the indexed item has been purchased or otherwise acquired by the user
71
+ //Example content are songs bought by a user and made searchable
72
+ @property(nullable, strong, getter=isUserOwned) NSNumber *userOwned API_AVAILABLE(macos(10.13), ios(11.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
73
+
74
+ //This property is used to indicate if the indexed item was selected by the user
75
+ //It is used to distinguish pushed app content from content that a user has chosen to add to a collection
76
+ //Example content that may set this field: downloaded media content, bookmarked websites/news articles
77
+ @property(nullable, strong, getter=isUserCurated) NSNumber *userCurated API_AVAILABLE(macos(10.13), ios(11.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
78
+
79
+ //This property allows content donors to provide a ranking signal to each indexed item
80
+ //It will inform the ranker, allowing it to distinguish more easily between otherwise similar items
81
+ //This is query-independent and should be used to indicate the relative importance of an item w.r.t. all other items for the same application
82
+ //Expected value ∈ [0-100]; preferably integral values
83
+ //Monotonically increasing with larger values being considered better results
84
+ @property(nullable, strong) NSNumber *rankingHint API_AVAILABLE(macos(10.13), ios(11.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
85
+
86
+ // This property has the same semantics as -[CSSearchableItem domainIdentifier].
87
+ // It can be set on the contentAttributeSet property of a NSUserActivity instance and then used to delete the user activity
88
+ // by calling [[CSSearchableIndex defaultSearchableIndex] deleteSearchableItemsWithDomainIdentifiers:].
89
+ @property(nullable, copy) NSString *domainIdentifier API_AVAILABLE(macos(10.12), ios(10.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
90
+
91
+ @property(nonatomic, nullable, copy, readonly) NSString *textContentSummary API_AVAILABLE(macos(15.4), ios(18.4), visionos(2.4)) API_UNAVAILABLE(tvos, watchos);
92
+
93
+ // Write-only accessor for transcribed textContent. This property can be queried as textContent.
94
+ @property(nonatomic, nullable, strong) NSString *transcribedTextContent API_AVAILABLE(macos(15.4), ios(18.4), visionos(2.4)) API_UNAVAILABLE(tvos, watchos);
95
+
96
+ @end
97
+
98
+ API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0))
99
+ API_UNAVAILABLE(tvos, watchos)
100
+ @interface CSSearchableItemAttributeSet (CSActionExtras)
101
+ // If supportsPhoneCall is 1 and the item has the phoneNumbers property, then the phone number may be used to initiate phone calls. This should be used to indicate that using the phone number is appropriate, and a primary action for the user. For example, supportsPhoneCall would be set on a business, but not an academic paper that happens to have phone numbers for the authors or the institution.
102
+ @property(nullable, strong) NSNumber *supportsPhoneCall;
103
+
104
+ // If supportsNavigation is set to 1, and the item has the latitude and longitude properties set, then the latitude and longitude may be used for navigation. For example, supportsNavigation would be set on a restaurant review, but not on a photo.
105
+ @property(nullable, strong) NSNumber *supportsNavigation;
106
+
107
+ // An array of strings that are the custom action identifiers.
108
+ @property(copy) NSArray<NSString*> * _Nonnull actionIdentifiers API_AVAILABLE(ios(15.0), visionos(1.0)) API_UNAVAILABLE(macos, tvos, watchos);
109
+
110
+ // The file type used for the share action.
111
+ @property(nullable, copy) UTType *sharedItemContentType API_AVAILABLE(ios(15.0), visionos(1.0)) API_UNAVAILABLE(macos, tvos, watchos);
112
+
113
+ @end
114
+
115
+ API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0))
116
+ API_UNAVAILABLE(tvos, watchos)
117
+ @interface CSSearchableItemAttributeSet(CSContainment)
118
+ @property(nullable, copy) NSString *containerTitle;
119
+ @property(nullable, copy) NSString *containerDisplayName;
120
+ @property(nullable, copy) NSString *containerIdentifier;
121
+ @property(nullable, strong) NSNumber *containerOrder;
122
+ @end
123
+
124
+ API_AVAILABLE(macos(10.11), ios(9.0), visionos(1.0))
125
+ API_UNAVAILABLE(tvos, watchos)
126
+ @interface CSSearchableItemAttributeSet (CSItemProvider)
127
+ // The string value of type identifier can only be used by one providerTypeIdentifier array.
128
+
129
+ // An array of types identifiers that owner can provided a NSData representation.
130
+ @property(nullable, copy) NSArray<NSString *> *providerDataTypeIdentifiers API_AVAILABLE(macos(10.13), ios(11.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
131
+
132
+ // An array of types identifiers that owner can provided a NSURL to file representation.
133
+ @property(nullable, copy) NSArray<NSString *> *providerFileTypeIdentifiers API_AVAILABLE(macos(10.13), ios(11.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
134
+
135
+ // An array of types identifiers that owner can provided a NSURL to inplace file representation.
136
+ @property(nullable, copy) NSArray<NSString *> *providerInPlaceFileTypeIdentifiers API_AVAILABLE(macos(10.13), ios(11.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
137
+
138
+ @end
@@ -0,0 +1,116 @@
1
+ //
2
+ // CSSearchableItemAttributeSet_Images.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 (CSImages)
17
+
18
+ //The height of the item in pixels (ie Image height or Video frame height)
19
+ @property(nullable, strong) NSNumber *pixelHeight;
20
+
21
+ //The width of the item in pixels (ie Image width or Video frame width)
22
+ @property(nullable, strong) NSNumber *pixelWidth;
23
+
24
+ //The total number of pixels in the item.
25
+ @property(nullable, strong) NSNumber *pixelCount;
26
+
27
+ //What color space model is this item following (For example, "RGB", "CMYK", "YUV", "YCbCr")
28
+ @property(nullable, copy) NSString *colorSpace;
29
+
30
+ //Number of bits per sample
31
+ //For example bit depth of an image (8-bit, 16-bit etc..) or bit
32
+ //depth per audio sample of uncompressed audio data (8, 16, 24, 32, 64, etc..)
33
+ @property(nullable, strong) NSNumber *bitsPerSample;
34
+
35
+ //Indicates if the flash was used to take the picture. Should be 1 if flash is on, 0 otherwise.
36
+ @property(nullable, strong, getter=isFlashOn) NSNumber *flashOn;
37
+
38
+ //The actual focal length of the lens in mm.
39
+ @property(nullable, strong) NSNumber *focalLength;
40
+
41
+ //Indicates if the focal length is 35mm. Should be 1 if true, 0 otherwise
42
+ @property(nullable, strong, getter=isFocalLength35mm) NSNumber *focalLength35mm;
43
+
44
+ //Device make that was used to acquire this item
45
+ @property(nullable, copy) NSString *acquisitionMake;
46
+
47
+ //Device model that was used to acquire this item
48
+ @property(nullable, copy) NSString *acquisitionModel;
49
+
50
+ //The owner of the camera used to capture this image.
51
+ @property(nullable, copy) NSString *cameraOwner;
52
+
53
+ //The model of the lens used to capture this image.
54
+ @property(nullable, copy) NSString *lensModel;
55
+
56
+ //The ISO Speed the camera was set to when the image was taken. Examples are 100, 200, 400, etc.
57
+ @property(nullable, strong) NSNumber *ISOSpeed;
58
+
59
+ //The orientation of the data. Should be 0 for Landscape or 1 for Portrait.
60
+ @property(nullable, strong) NSNumber *orientation;
61
+
62
+ //The names of the various layers in the file
63
+ @property(nullable, copy) NSArray<NSString*> *layerNames;
64
+
65
+ //The white balance setting of the camera when the image was acquired. Should be 0 for Auto or 1 for Manual.
66
+ @property(nullable, strong) NSNumber *whiteBalance;
67
+
68
+ //The size of the lens aperture as a log-scale APEX value when the image was acquired.
69
+ @property(nullable, strong) NSNumber *aperture;
70
+
71
+ //Name of the color profile used for the image
72
+ @property(nullable, copy) NSString *profileName;
73
+
74
+ //Resolution width of this image in DPI
75
+ @property(nullable, strong) NSNumber *resolutionWidthDPI;
76
+
77
+ //Resolution height of this image in DPI
78
+ @property(nullable, strong) NSNumber *resolutionHeightDPI;
79
+
80
+ //Mode that was used for the exposure. Should be 0 for AutoExposure, 1 for Manual, 2 for AutoBracket.
81
+ @property(nullable, strong) NSNumber *exposureMode;
82
+
83
+ //Time that the lens was open during exposure in seconds
84
+ @property(nullable, strong) NSNumber *exposureTime;
85
+
86
+ //The verion of the EXIF header that was used to generate the metadata
87
+ @property(nullable, copy) NSString *EXIFVersion;
88
+
89
+ //The version of GPSInfoIFD header that was used to generate the metadata
90
+ @property(nullable, copy) NSString *EXIFGPSVersion;
91
+
92
+ //Indicates if this image file has an alpha channel. Should be 0 for no alpha channel, 1 for alpha channel.
93
+ @property(nullable, strong) NSNumber *hasAlphaChannel;
94
+
95
+ //Indicates if red-eye reduction was used to take the picture. Should be 0 for no red-eye, 1 for red-eye
96
+ @property(nullable, strong,getter=isRedEyeOn) NSNumber *redEyeOn;
97
+
98
+ //The metering mode for the image (Average, Partial, Pattern, ...)
99
+ @property(nullable, copy) NSString *meteringMode;
100
+
101
+ //The smallest F number of the lens. The unit is the APEX
102
+ //value. Ordinarily it is given in the range of 00.00 to 99.99.
103
+ @property(nullable, strong) NSNumber *maxAperture;
104
+
105
+ //The focal length of the lens divided by the diameter of the aperture when the image was acquired.
106
+ @property(nullable, strong) NSNumber *fNumber;
107
+
108
+ //The class of the program used by the camera to set exposure when the picture is taken (Manual, Normal, Aperture Priority, ...)
109
+ @property(nullable, copy) NSString *exposureProgram;
110
+
111
+ //The time of the exposure as a string, e.g. "1/250 seconds".
112
+ @property(nullable, copy) NSString *exposureTimeString;
113
+
114
+ @end
115
+
116
+ NS_ASSUME_NONNULL_END