peachsim 0.1.1674 → 0.1.1692

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 (350) hide show
  1. package/cli/commands/control.ts +13 -1
  2. package/cli/commands/coverage-swift.ts +150 -27
  3. package/cli/commands/coverage.ts +219 -20
  4. package/cli/commands/detect.ts +10 -6
  5. package/cli/commands/inspect/actions.ts +1 -0
  6. package/cli/commands/inspect/core.ts +2 -0
  7. package/cli/commands/inspect/wait-ready.ts +7 -0
  8. package/cli/commands/screenshot.ts +12 -0
  9. package/cli/outbound-endpoints.ts +12 -0
  10. package/detox/index.ts +11 -1
  11. package/detox/jest-environment.cjs +14 -0
  12. package/dist-lib/agent-daemon-client.cjs +1 -1
  13. package/dist-lib/agent-events.cjs +1 -1
  14. package/dist-lib/attached-projects.cjs +1 -1
  15. package/dist-lib/auth/shared-session.cjs +1 -1
  16. package/dist-lib/backend-origin.cjs +1 -1
  17. package/dist-lib/beta.cjs +1 -1
  18. package/dist-lib/beta.mjs +1 -1
  19. package/dist-lib/bridge-constants.cjs +1 -1
  20. package/dist-lib/bridge-contract-input.cjs +1 -1
  21. package/dist-lib/bridge-contract-input.mjs +1 -1
  22. package/dist-lib/bridge-contract.cjs +1 -1
  23. package/dist-lib/bridge-contract.mjs +1 -1
  24. package/dist-lib/bundle-channel.cjs +4833 -2432
  25. package/dist-lib/capture-contract.cjs +1 -1
  26. package/dist-lib/capture-contract.mjs +1 -1
  27. package/dist-lib/cloud-contract.cjs +1 -1
  28. package/dist-lib/cloud-contract.mjs +1 -1
  29. package/dist-lib/cloud-test-args.cjs +1 -1
  30. package/dist-lib/cloud-test-args.mjs +1 -1
  31. package/dist-lib/cloud.cjs +1 -1
  32. package/dist-lib/cloud.mjs +1 -1
  33. package/dist-lib/config.cjs +1 -1
  34. package/dist-lib/config.mjs +1 -1
  35. package/dist-lib/detox/index.cjs +6 -4
  36. package/dist-lib/detox/jest-environment.cjs +14 -0
  37. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  38. package/dist-lib/expo-swift-bundle.cjs +3785 -1737
  39. package/dist-lib/expo-swift-metadata.cjs +1 -1
  40. package/dist-lib/expo-swift-metadata.mjs +1 -1
  41. package/dist-lib/home-paths.cjs +1 -1
  42. package/dist-lib/host/bridge-host.cjs +4253 -2205
  43. package/dist-lib/host/fetch-proxy-handler.cjs +20 -7
  44. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  45. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  46. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  47. package/dist-lib/host/websocket-proxy.cjs +1 -1
  48. package/dist-lib/index.cjs +2065 -796
  49. package/dist-lib/jump-to-source-babel.cjs +1 -1
  50. package/dist-lib/jump-to-source-native.cjs +1 -1
  51. package/dist-lib/kotlin-host.cjs +1 -1
  52. package/dist-lib/menu.cjs +1 -1
  53. package/dist-lib/menu.mjs +1 -1
  54. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  55. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  56. package/dist-lib/metro-production-bundle.cjs +1 -1
  57. package/dist-lib/metro-production-bundle.mjs +1 -1
  58. package/dist-lib/metro.cjs +6325 -4287
  59. package/dist-lib/native-app-identity-project.cjs +192 -55
  60. package/dist-lib/native-app-identity-project.mjs +235 -86
  61. package/dist-lib/native-app-identity.cjs +1 -1
  62. package/dist-lib/native-app-identity.mjs +1 -1
  63. package/dist-lib/native-firebase-metadata.cjs +1 -1
  64. package/dist-lib/native-firebase-metadata.mjs +1 -1
  65. package/dist-lib/plist.cjs +1 -1
  66. package/dist-lib/plist.mjs +1 -1
  67. package/dist-lib/profiles.cjs +1 -1
  68. package/dist-lib/public-brand.cjs +1 -1
  69. package/dist-lib/public-origins-lib-esm.json +27 -23
  70. package/dist-lib/public-origins-lib-static.json +1 -1
  71. package/dist-lib/public-origins-lib.json +156 -87
  72. package/dist-lib/react-native-host-modules.cjs +1 -1
  73. package/dist-lib/react-native-host-modules.mjs +1 -1
  74. package/dist-lib/reap-browser.cjs +2 -2
  75. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  76. package/dist-lib/sdk.cjs +3 -2
  77. package/dist-lib/sdk.mjs +3 -2
  78. package/dist-lib/skills.cjs +5036 -2833
  79. package/dist-lib/swift-compile.cjs +2937 -437
  80. package/dist-lib/swift-compile.mjs +2932 -435
  81. package/dist-lib/swift-package.cjs +137 -49
  82. package/dist-lib/swift-package.mjs +132 -49
  83. package/dist-lib/swift-submit.cjs +1 -1
  84. package/dist-lib/swift-submit.mjs +1 -1
  85. package/dist-lib/swift-toolchain.cjs +26 -11
  86. package/dist-lib/swift.cjs +1 -1
  87. package/dist-lib/vite-swift.cjs +6005 -1725
  88. package/dist-lib/vite.cjs +1911 -776
  89. package/dist-lib/worklet-executable.cjs +7 -4
  90. package/dist-lib/worklet-executable.mjs +7 -4
  91. package/dist-types/packages/peach-engine/src/engine/canvaskit-api.d.ts +1 -1
  92. package/dist-types/packages/peach-engine/src/engine/clipboardContract.d.ts +24 -2
  93. package/dist-types/packages/peach-engine/src/preview/upload-protocol.d.ts +11 -3
  94. package/dist-types/packages/peach-engine/src/webview-automation-host.d.ts +6 -0
  95. package/dist-types/packages/peach-globals/src/clipboardBridgeContract.d.ts +8 -0
  96. package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
  97. package/dist-types/packages/peach-globals/src/nodeContract.d.ts +3 -2
  98. package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
  99. package/package.json +1 -1
  100. package/runtime-companion.json +1 -1
  101. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +60 -2
  102. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLAvailability.h +22 -0
  103. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBackgroundActivitySession.h +145 -0
  104. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityCondition.h +113 -0
  105. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityConstraint.h +34 -0
  106. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h +225 -0
  107. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBody.h +26 -0
  108. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h +59 -0
  109. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h +64 -0
  110. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h +48 -0
  111. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLError.h +52 -0
  112. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLErrorDomain.h +24 -0
  113. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h +55 -0
  114. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLHeading.h +117 -0
  115. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h +9 -0
  116. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager+CLVisitExtensions.h +45 -0
  117. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h +877 -0
  118. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h +225 -0
  119. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h +33 -0
  120. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h +28 -0
  121. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h +250 -0
  122. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h +140 -0
  123. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h +77 -0
  124. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h +184 -0
  125. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h +57 -0
  126. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h +98 -0
  127. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h +123 -0
  128. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLServiceSession.h +211 -0
  129. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h +66 -0
  130. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h +46 -0
  131. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Modules/module.modulemap +7 -0
  132. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +117 -2
  133. package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h +52 -0
  134. package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h +240 -0
  135. package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h +474 -0
  136. package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h +66 -0
  137. package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Modules/module.modulemap +10 -0
  138. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFComposeAssistantViewController.h +29 -0
  139. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMailComposeControllerDeferredAction.h +14 -0
  140. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMailComposeViewController.h +162 -0
  141. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMailDraft.h +24 -0
  142. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMessageComposeViewController+UPI.h +31 -0
  143. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMessageComposeViewController.h +169 -0
  144. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MessageUI.h +13 -0
  145. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Modules/module.modulemap +11 -0
  146. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4AccelerationStructure.h +9 -0
  147. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4Archive.h +16 -0
  148. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4ArgumentTable.h +17 -0
  149. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4BinaryFunction.h +13 -0
  150. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4BinaryFunctionDescriptor.h +14 -0
  151. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4BufferRange.h +79 -0
  152. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandAllocator.h +15 -0
  153. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandBuffer.h +17 -0
  154. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandEncoder.h +16 -0
  155. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandQueue.h +19 -0
  156. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommitFeedback.h +15 -0
  157. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4Compiler.h +13 -0
  158. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CompilerTask.h +13 -0
  159. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4ComputeCommandEncoder.h +19 -0
  160. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4ComputePipeline.h +13 -0
  161. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4Counters.h +19 -0
  162. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4FunctionDescriptor.h +13 -0
  163. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4LibraryDescriptor.h +13 -0
  164. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4LibraryFunctionDescriptor.h +13 -0
  165. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4LinkingDescriptor.h +13 -0
  166. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4MachineLearningCommandEncoder.h +17 -0
  167. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4MachineLearningPipeline.h +13 -0
  168. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4MeshRenderPipeline.h +13 -0
  169. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4PipelineDataSetSerializer.h +13 -0
  170. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4PipelineState.h +13 -0
  171. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4RenderCommandEncoder.h +17 -0
  172. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4RenderPass.h +17 -0
  173. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4RenderPipeline.h +13 -0
  174. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4SpecializedFunctionDescriptor.h +13 -0
  175. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4StitchedFunctionDescriptor.h +13 -0
  176. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4TileRenderPipeline.h +13 -0
  177. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructure.h +1212 -0
  178. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h +322 -0
  179. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureTypes.h +224 -0
  180. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAllocation.h +22 -0
  181. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h +279 -0
  182. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h +199 -0
  183. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBinaryArchive.h +142 -0
  184. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h +266 -0
  185. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBlitPass.h +82 -0
  186. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h +94 -0
  187. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h +113 -0
  188. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h +43 -0
  189. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h +449 -0
  190. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h +148 -0
  191. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h +102 -0
  192. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h +350 -0
  193. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLComputePass.h +90 -0
  194. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h +274 -0
  195. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCounters.h +225 -0
  196. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDataType.h +232 -0
  197. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h +39 -0
  198. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h +93 -0
  199. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h +1122 -0
  200. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDeviceCertification.h +29 -0
  201. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h +36 -0
  202. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDynamicLibrary.h +81 -0
  203. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h +79 -0
  204. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h +22 -0
  205. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h +30 -0
  206. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionDescriptor.h +95 -0
  207. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionHandle.h +29 -0
  208. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionLog.h +37 -0
  209. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionStitching.h +131 -0
  210. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLGPUAddress.h +19 -0
  211. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h +284 -0
  212. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIOCommandBuffer.h +10 -0
  213. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIOCommandQueue.h +11 -0
  214. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIOCompressor.h +10 -0
  215. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h +157 -0
  216. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h +110 -0
  217. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIntersectionFunctionTable.h +186 -0
  218. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h +549 -0
  219. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLLinkedFunctions.h +57 -0
  220. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLLogState.h +65 -0
  221. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h +77 -0
  222. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h +57 -0
  223. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h +342 -0
  224. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h +323 -0
  225. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h +1068 -0
  226. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h +411 -0
  227. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h +788 -0
  228. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResidencySet.h +141 -0
  229. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h +307 -0
  230. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h +125 -0
  231. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStatePass.h +85 -0
  232. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResourceViewPool.h +22 -0
  233. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h +252 -0
  234. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h +158 -0
  235. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTensor.h +17 -0
  236. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h +460 -0
  237. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTextureViewPool.h +18 -0
  238. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h +125 -0
  239. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h +153 -0
  240. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLVisibleFunctionTable.h +45 -0
  241. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/Metal.h +94 -0
  242. package/sdk/ios/System/Library/Frameworks/Metal.framework/Modules/module.modulemap +6 -0
  243. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h +10 -0
  244. package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTDefines.h +35 -0
  245. package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTTagClass.h +33 -0
  246. package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTType.h +504 -0
  247. package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/CLEssentialsAvailability.h +14 -0
  248. package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/CLLocationEssentials.h +444 -0
  249. package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/LocationEssentials.h +14 -0
  250. package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Modules/module.modulemap +14 -0
  251. package/sdk/ios/usr/include/arm/param.h +151 -0
  252. package/sdk/ios/usr/include/complex.h +167 -0
  253. package/sdk/ios/usr/include/dispatch/dispatch.h +8 -0
  254. package/sdk/ios/usr/include/dlfcn.h +1 -2
  255. package/sdk/ios/usr/include/mach/mach_types.h +1 -0
  256. package/sdk/ios/usr/include/machine/param.h +42 -0
  257. package/sdk/ios/usr/include/math.h +835 -2
  258. package/sdk/ios/usr/include/net/if.h +1 -2
  259. package/sdk/ios/usr/include/peach/pthread.h +4 -4
  260. package/sdk/ios/usr/include/pthread/qos.h +304 -0
  261. package/sdk/ios/usr/include/sys/_types/_fd_clr.h +31 -0
  262. package/sdk/ios/usr/include/sys/_types/_fd_copy.h +31 -0
  263. package/sdk/ios/usr/include/sys/_types/_fd_def.h +121 -0
  264. package/sdk/ios/usr/include/sys/_types/_fd_isset.h +31 -0
  265. package/sdk/ios/usr/include/sys/_types/_fd_set.h +31 -0
  266. package/sdk/ios/usr/include/sys/_types/_fd_setsize.h +31 -0
  267. package/sdk/ios/usr/include/sys/_types/_fd_zero.h +31 -0
  268. package/sdk/ios/usr/include/sys/cdefs.h +3 -1
  269. package/sdk/ios/usr/include/sys/param.h +235 -0
  270. package/sdk/ios/usr/include/sys/proc.h +1 -0
  271. package/sdk/ios/usr/include/sys/qos.h +151 -12
  272. package/sdk/ios/wasm/include/__typedef_sigset_t.h +7 -0
  273. package/sdk/ios/wasm/include/fcntl.h +11 -0
  274. package/sdk/ios/wasm/include/mach/machine/boolean.h +2 -0
  275. package/sdk/ios/wasm/include/mach/machine/exception.h +5 -0
  276. package/sdk/ios/wasm/include/mach/machine/kern_return.h +2 -0
  277. package/sdk/ios/wasm/include/mach/machine/processor_info.h +2 -0
  278. package/sdk/ios/wasm/include/mach/machine/rpc.h +2 -0
  279. package/sdk/ios/wasm/include/mach/machine/thread_state.h +3 -0
  280. package/sdk/ios/wasm/include/mach/machine/thread_status.h +3 -0
  281. package/sdk/ios/wasm/include/mach/machine/vm_param.h +3 -0
  282. package/sdk/ios/wasm/include/mach/machine/vm_types.h +18 -0
  283. package/sdk/ios/wasm/include/machine/_types.h +153 -0
  284. package/sdk/ios/wasm/include/machine/endian.h +2 -0
  285. package/sdk/ios/wasm/include/machine/limits.h +2 -0
  286. package/sdk/ios/wasm/include/machine/types.h +30 -0
  287. package/sdk/ios/wasm/include/poll.h +8 -0
  288. package/sdk/ios/wasm/include/pthread.h +50 -0
  289. package/sdk/ios/wasm/include/signal.h +72 -0
  290. package/sdk/ios/wasm/include/stdlib.h +3 -0
  291. package/sdk/ios/wasm/include/string.h +10 -0
  292. package/sdk/ios/wasm/include/sys/_pthread/_pthread_attr_t.h +7 -0
  293. package/sdk/ios/wasm/include/sys/_pthread/_pthread_t.h +7 -0
  294. package/sdk/ios/wasm/include/sys/mman.h +122 -0
  295. package/sdk/ios/wasm/include/sys/select.h +37 -0
  296. package/sdk/ios/wasm/include/sys/signal.h +259 -0
  297. package/sdk/ios/wasm/include/sys/socket.h +8 -0
  298. package/sdk/ios/wasm/include/sys/types.h +14 -0
  299. package/sdk/ios/wasm/include/sys/ucontext.h +1 -0
  300. package/sdk/ios/wasm/include/sys/uio.h +11 -0
  301. package/sdk/ios/wasm/include/sys/wait.h +89 -0
  302. package/sdk/ios/wasm/include/time.h +8 -0
  303. package/sdk/ios/wasm/include/unistd.h +17 -0
  304. package/src/bridge-contract.ts +2 -0
  305. package/src/chromium-admission.ts +10 -5
  306. package/src/device-catalog.ts +4 -4
  307. package/src/generated/swift-c-predefines.json +1988 -0
  308. package/src/host/fetch-proxy-handler.ts +20 -0
  309. package/src/metro-plugin.ts +5 -2
  310. package/src/nitro-adapter.lock.json +6 -6
  311. package/src/nitro-bundle.ts +1 -0
  312. package/src/nitro-compile.ts +67 -2
  313. package/src/nitroContract.ts +18 -2
  314. package/src/numbered-lock.ts +72 -0
  315. package/src/react-native-coverage/capability-reference-resolution.ts +62 -5
  316. package/src/react-native-coverage/capability-source-references.ts +50 -13
  317. package/src/react-native-coverage/native-source-credit.ts +126 -0
  318. package/src/react-native-coverage/native-source-ranges-file.ts +38 -0
  319. package/src/react-native-coverage/native-surface.ts +49 -0
  320. package/src/react-native-coverage/verified-reach.ts +22 -2
  321. package/src/runtime-assets.ts +17 -0
  322. package/src/swift-compile.ts +530 -97
  323. package/src/swift-coverage/indexing.ts +17 -1
  324. package/src/swift-coverage/package.ts +3 -1
  325. package/src/swift-coverage/sdk.ts +71 -0
  326. package/src/swift-coverage/source.ts +74 -2
  327. package/src/swift-coverage/types.ts +6 -0
  328. package/src/swift-coverage/xcode-assets.ts +62 -2
  329. package/src/swift-coverage/xcode-packages.ts +11 -6
  330. package/src/swift-distribution.lock.json +12 -12
  331. package/src/swift-host.ts +457 -62
  332. package/src/swift-objc-compile.ts +26 -26
  333. package/src/swift-objc-metadata.ts +2 -8
  334. package/src/swift-objc-platform.ts +53 -0
  335. package/src/swift-objc-standin.ts +66 -12
  336. package/src/swift-package-manifest.ts +196 -28
  337. package/src/swift-package.ts +186 -60
  338. package/src/swift-packages.ts +298 -88
  339. package/src/swift-source-file.ts +10 -15
  340. package/src/swift-source-pods.ts +288 -0
  341. package/src/swift-standins.ts +87 -13
  342. package/src/swift-submit.ts +5 -0
  343. package/src/swift-toolchain.ts +32 -10
  344. package/src/swiftContract.ts +160 -75
  345. package/src/target-matcher.ts +15 -2
  346. package/src/vite-plugin-one.ts +5 -4
  347. package/src/worker-system-chunks.ts +7 -1
  348. package/src/worklet-executable.ts +7 -3
  349. package/src/xcode-json-project.ts +14 -2
  350. package/src/xcode-project.ts +193 -69
@@ -0,0 +1,162 @@
1
+ /// @header MFMailComposeViewController
2
+ /// @abstract The MFMailComposeViewController class provides an interface for editing and sending email.
3
+ /// @discussion MFMailComposeViewController is used for implementing a simple interface for users to enter
4
+ /// and send email.
5
+ /// @copyright Copyright 2008-2016 Apple Inc. All rights reserved.
6
+ #import <UIKit/UIKit.h>
7
+
8
+ NS_ASSUME_NONNULL_BEGIN
9
+
10
+
11
+ /// @enum MFMailComposeResult
12
+ /// @abstract Composition result sent to the delegate upon user completion.
13
+ /// @discussion This result will inform of the user's choice in regards to email composition. If the user
14
+ /// cancels the composition, <tt>MFMailComposeResultCancelled</tt> will be sent to the delegate.
15
+ /// Typically <tt>MFMailComposeResultSent</tt> or <tt>MFMailComposeResultSaved</tt> will
16
+ /// be sent, but <tt>MFMailComposeResultFailed</tt> will be sent in the case of failure.
17
+ /// </p>Send may only be interpreted as a successful queueing of the message for later sending.
18
+ /// The actual send will occur when the device is able to send.
19
+ /// @constant MFMailComposeResultCancelled User canceled the composition.
20
+ /// @constant MFMailComposeResultSaved User successfully saved the message.
21
+ /// @constant MFMailComposeResultSent User successfully sent/queued the message.
22
+ /// @constant MFMailComposeResultFailed User's attempt to save or send was unsuccessful.
23
+ typedef NS_ENUM(NSInteger, MFMailComposeResult) {
24
+ MFMailComposeResultCancelled,
25
+ MFMailComposeResultSaved,
26
+ MFMailComposeResultSent,
27
+ MFMailComposeResultFailed
28
+ } API_AVAILABLE(ios(3.0));
29
+
30
+ /// @const MFMailComposeErrorDomain
31
+ /// @abstract Error domain for NSError values stemming from the MFMailCompose API.
32
+ /// @discussion This error domain is used as the domain for all NSError instances stemmming from the
33
+ /// MFMailCompose API. Valid error code values are declared in the <tt>MFMailComposeErrorCode</tt>
34
+ /// space.
35
+ extern NSErrorDomain const MFMailComposeErrorDomain API_AVAILABLE(ios(3.0));
36
+
37
+ /// @enum MFMailComposeErrorCode
38
+ /// @abstract Error codes for NSError values stemming from the MFMailCompose API.
39
+ /// @discussion These error codes are used as the codes for all NSError instances stemmming from the
40
+ /// MFMailCompose API. These are the only valid values for NSError instances with the
41
+ /// <tt>MFMailComposeErrorDomain</tt> domain.
42
+ /// @constant MFMailComposeErrorCodeSaveFailed Generic error indicating a save failed.
43
+ /// @constant MFMailComposeErrorCodeSendFailed Generic error indicating a send failed.
44
+ typedef NS_ENUM(NSInteger, MFMailComposeErrorCode) {
45
+ MFMailComposeErrorCodeSaveFailed,
46
+ MFMailComposeErrorCodeSendFailed
47
+ } API_AVAILABLE(ios(3.0));
48
+
49
+ @protocol MFMailComposeViewControllerDelegate;
50
+
51
+ /// @class MFMailComposeViewController
52
+ /// @abstract The MFMailComposeViewController class provides an interface for editing and sending email.
53
+ /// @discussion The MFMailComposeViewController class manages all user interaction. The client needs to set the recipient or
54
+ /// recipients. The client may also set the subject and the body of the message. Attachments may be added, if
55
+ /// so desired. After setup, the client needs to only display the view.<p>The provided delegate will be informed
56
+ /// of the user's composition completion and how they chose to complete the operation.</p>Prior to use, clients
57
+ /// should verify the user has set up the device for sending email via <tt>+[MFMailComposeViewController canSendMail]</tt>.
58
+ API_AVAILABLE(ios(3.0))
59
+ @interface MFMailComposeViewController : UINavigationController {
60
+ @private
61
+ id _internal;
62
+ }
63
+
64
+ /// @method canSendMail
65
+ /// @abstract Returns <tt>YES</tt> if the user has set up the device for sending email.
66
+ /// @discussion The client may continue to set the recipients and content if the return value was <tt>YES</tt>. If <tt>NO</tt>
67
+ /// was the result, the client has a couple options. It may choose to simply notify the user of the inability to
68
+ /// send mail, or it may issue a "mailto" URL via <tt>-[UIApplication openURL:]</tt>.
69
+ + (BOOL)canSendMail;
70
+
71
+ /// @property mailComposeDelegate
72
+ /// @abstract This property is the delegate for the MFMailComposeViewControllerDelegate method callbacks.
73
+ @property (nonatomic, nullable, weak) id<MFMailComposeViewControllerDelegate> mailComposeDelegate;
74
+
75
+ /// @method setSubject:
76
+ /// @abstract This method sets the Subject header for the email message.
77
+ /// @discussion This method will set the Subject header for the email message. This should be called prior to display.
78
+ /// Newlines are removed from the parameter.
79
+ /// <p>After the view has been presented to the user, this method will no longer change the value.</p>
80
+ /// @param subject A NSString specifying the message's Subject header.
81
+ - (void)setSubject:(NSString *)subject;
82
+
83
+ /// @method setToRecipients:
84
+ /// @abstract This method sets the To header for the email message to the specified email addresses.
85
+ /// @discussion This method will set the To header for the email message. This should be called prior to display.
86
+ /// <p>Recipient addresses should be specified as per RFC5322.</p>
87
+ /// <p>After the view has been presented to the user, this method will no longer change the value.</p>
88
+ /// @param toRecipients A NSArray of NSString instances specifying the email addresses of recipients.
89
+ - (void)setToRecipients:(nullable NSArray<NSString *> *)toRecipients;
90
+
91
+ /// @method setCcRecipients:
92
+ /// @abstract This method sets the CC header for the email message to the specified email addresses.
93
+ /// @discussion This method will set the CC header for the email message. This should be called prior to display.
94
+ /// <p>Recipient addresses should be specified as per RFC5322.</p>
95
+ /// <p>After the view has been presented to the user, this method will no longer change the value.</p>
96
+ /// @param ccRecipients A NSArray of NSString instances specifying the email addresses of recipients.
97
+ - (void)setCcRecipients:(nullable NSArray<NSString *> *)ccRecipients;
98
+
99
+ /// @method setBccRecipients:
100
+ /// @abstract This method sets the BCC header for the email message to the specified email addresses.
101
+ /// @discussion This method will set the BCC header for the email message. This should be called prior to display.
102
+ /// <p>Recipient addresses should be specified as per RFC5322.</p>
103
+ /// <p>After the view has been presented to the user, this method will no longer change the value.</p>
104
+ /// @param bccRecipients A NSArray of NSString instances specifying the email addresses of recipients.
105
+ - (void)setBccRecipients:(nullable NSArray<NSString *> *)bccRecipients;
106
+
107
+ /// @method setMessageBody:isHTML:
108
+ /// @abstract This method sets the body of the email message to the specified content.
109
+ /// @discussion This method will set the body of the email message. This should be called prior to display.
110
+ /// The user's signature, if specified, will be added after the body content.
111
+ /// @param body A NSString containing the body contents of the email message.
112
+ /// @param isHTML A boolean value indicating if the body argument is to be interpreted as HTML content.
113
+ - (void)setMessageBody:(NSString *)body isHTML:(BOOL)isHTML;
114
+
115
+ /// @method addAttachmentData:mimeType:fileName:
116
+ /// @abstract This method adds the specified attachment to the email message.
117
+ /// @discussion This method adds the specified attachment to the email message. This should be called prior to display.
118
+ /// Attachments will be appended to the end of the message.
119
+ /// @param attachment NSData containing the contents of the attachment. Must not be <tt>nil</tt>.
120
+ /// @param mimeType NSString specifying the MIME type for the attachment, as specified by the IANA
121
+ /// (http://www.iana.org/assignments/media-types/). Must not be <tt>nil</tt>.
122
+ /// @param filename NSString specifying the intended filename for the attachment. This is displayed below
123
+ /// the attachment's icon if the attachment is not decoded when displayed. Must not be <tt>nil</tt>.
124
+ - (void)addAttachmentData:(NSData *)attachment mimeType:(NSString *)mimeType fileName:(NSString *)filename;
125
+
126
+ /// @method setPreferredSendingEmailAddress:
127
+ /// @abstract This method sets the preferred sending account of the email message.
128
+ /// @discussion This method will set the sending account of the message to the specified email address if the user has an account with such an address set up. If there is no account with such an address, the default account will be used instead.
129
+ /// The sending email address should be specified as per RFC5322.
130
+ /// After the view has been presented to the user, this method will no longer change the value.
131
+ /// @param emailAddress A NSString specifying the preferred email address used to send this message.
132
+ - (void)setPreferredSendingEmailAddress:(NSString *)emailAddress API_AVAILABLE(ios(11.0));
133
+
134
+ /// @method insertCollaborationItemProvider:
135
+ /// @param itemProvider specifying the intended content for collaboration
136
+ /// @abstract Returns <tt>YES</tt> if the item provider was added to the composition successfully.
137
+ /// @discussion If the return value is YES, the itemProvider was added to the composition. The itemProvider must be non-nil.
138
+ - (void)insertCollaborationItemProvider:(NSItemProvider *)itemProvider completionHandler:(void (^)(BOOL))completionHandler API_AVAILABLE(ios(18.4));
139
+
140
+ @end
141
+
142
+
143
+ /// @protocol MFMailComposeViewControllerDelegate
144
+ /// @abstract Protocol for delegate callbacks to MFMailComposeViewController instances.
145
+ /// @discussion This protocol must be implemented for delegates of MFMailComposeViewController instances. It will
146
+ /// be called at various times while the user is composing, sending, saving, or canceling email composition.
147
+ @protocol MFMailComposeViewControllerDelegate <NSObject>
148
+ @optional
149
+ /// @method mailComposeController:didFinishWithResult:error:
150
+ /// @abstract Delegate callback which is called upon user's completion of email composition.
151
+ /// @discussion This delegate callback will be called when the user completes the email composition. How the user chose
152
+ /// to complete this task will be given as one of the parameters to the callback. Upon this call, the client
153
+ /// should remove the view associated with the controller, typically by dismissing modally.
154
+ /// @param controller The MFMailComposeViewController instance which is returning the result.
155
+ /// @param result MFMailComposeResult indicating how the user chose to complete the composition process.
156
+ /// @param error NSError indicating the failure reason if failure did occur. This will be <tt>nil</tt> if
157
+ /// result did not indicate failure.
158
+ - (void)mailComposeController:(MFMailComposeViewController *)controller didFinishWithResult:(MFMailComposeResult)result error:(nullable NSError *)error;
159
+
160
+ @end
161
+
162
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,24 @@
1
+ //
2
+ // MFMailDraft.h
3
+ // MessageUI
4
+ //
5
+ // Copyright © 2025 Apple Inc. All rights reserved.
6
+ //
7
+
8
+ #import <Foundation/Foundation.h>
9
+
10
+ NS_ASSUME_NONNULL_BEGIN
11
+
12
+ @interface MFMailDraft: NSObject
13
+
14
+ @property (nonatomic, nullable, readonly) NSString *from;
15
+ @property (nonatomic, nonnull, readonly) NSString *subject;
16
+ @property (nonatomic, nonnull, readonly) NSAttributedString *body;
17
+ @property (nonatomic, nonnull, readonly) NSArray<NSString *> *to;
18
+ @property (nonatomic, nonnull, readonly) NSArray<NSString *> *cc;
19
+
20
+ - (instancetype)initWithSubject:(NSString *)subject body:(NSAttributedString *)body from:(NSString *)from to:(NSArray<NSString *> *)to cc:(NSArray<NSString *> *)cc;
21
+
22
+ @end
23
+
24
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,31 @@
1
+ #import <MessageUI/MFMessageComposeViewController.h>
2
+
3
+
4
+ NS_ASSUME_NONNULL_BEGIN
5
+
6
+ @interface MFMessageComposeViewController (UPI)
7
+
8
+ /// @method setUPIVerificationCodeSendCompletion:
9
+ /// @abstract Configures the instance of `MFMessageComposeViewController` for UPI device validation
10
+ /// @discussion If the host app has the `com.apple.developer.upi-device-validation` managed entitlement, this
11
+ /// will configure the instance of `MFMessageComposeViewController` with non-editable recipients
12
+ /// and body fields. This API is only functional on devices with SMS capability and is only
13
+ /// compatible with non-iMessagable recipients. The send completion handler will be invoked with
14
+ /// `YES` only once the SMS was successfully transmitted to the sender's cellular carrier. If the
15
+ /// SMS failed to send, the completion handler will be invoked with `NO`.
16
+ ///
17
+ /// The completion handler will be in invoked on the main thread. It will only be invoked after
18
+ /// `MFMessageComposeViewController` delegate's `-messageComposeViewController:didFinishWithResult:`
19
+ /// method was called. That method is called in response to user action (the user hit cancel or
20
+ /// send); the send completion handler is called with the transmission result of the message. It
21
+ /// will not be called at all if `-messageComposeViewController:didFinishWithResult:` was not
22
+ /// called with `MessageComposeResultSent`.
23
+ ///
24
+ /// Because it can take some time to send a message, the completion handler could be invoked
25
+ /// after the `MFMessageComposeViewController` instance is deallocated.
26
+ /// @param completion A block invoked with a BOOL of whether the message was actually sent.
27
+ - (void)setUPIVerificationCodeSendCompletion:(void (^)(BOOL didSend))completion NS_SWIFT_DISABLE_ASYNC API_AVAILABLE(ios(17.0));
28
+
29
+ @end
30
+
31
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,169 @@
1
+ /// @header MFMessageComposeViewController
2
+ /// @abstract The MFMessageComposeViewController class provides an interface for editing and sending a text
3
+ /// message.
4
+ /// @discussion MFMessageComposeViewController is used for implementing a simple interface for users to enter
5
+ /// and send a text message including multimedia attachments.
6
+ /// @copyright Copyright 2009 - 2016 Apple Inc. All rights reserved.
7
+
8
+ #import <UIKit/UIKit.h>
9
+
10
+ NS_ASSUME_NONNULL_BEGIN
11
+
12
+ /// @enum MessageComposeResult
13
+ /// @abstract Composition result sent to the delegate upon user completion.
14
+ /// @discussion This result will inform the client of the user's message composition action. If the
15
+ /// user cancels the composition, <tt>MessageComposeResultCancelled</tt> will be sent to the delegate.
16
+ /// Typically <tt>MessageComposeResultSent</tt> will be sent, but <tt>MessageComposeResultFailed</tt> will
17
+ /// be sent in the case of failure. </p>Send may only be interpreted as a successful queueing of
18
+ /// the message for later sending. The actual send will occur when the device is able to send.
19
+ /// @constant MessageComposeResultCancelled User canceled the composition.
20
+ /// @constant MessageComposeResultSent User successfully sent/queued the message.
21
+ /// @constant MessageComposeResultFailed User's attempt to save or send was unsuccessful.
22
+
23
+ typedef NS_ENUM(NSInteger, MessageComposeResult) {
24
+ MessageComposeResultCancelled,
25
+ MessageComposeResultSent,
26
+ MessageComposeResultFailed
27
+ } API_AVAILABLE(ios(4.0));
28
+
29
+ /// @constant MFMessageComposeViewControllerAttachmentURL The url for the given attachment.
30
+ extern NSString *const MFMessageComposeViewControllerAttachmentURL;
31
+
32
+ /// @constant MFMessageComposeViewControllerAttachmentAlternateFilename The alternate filename for the given attachment.
33
+ extern NSString *const MFMessageComposeViewControllerAttachmentAlternateFilename;
34
+
35
+ /// @const MFMessageComposeViewControllerTextMessageAvailabilityDidChangeNotification
36
+ /// @abstract Notification posted when the value of <tt>+[MFMessageComposeViewController canSendText]</tt> has changed.
37
+ /// @discussion This notification is posted when the value of <tt>+[MFMessageComposeViewController canSendText]</tt>
38
+ /// has changed. Clients should invalidate any caches and update UI as appropriate.
39
+ extern NSString *const MFMessageComposeViewControllerTextMessageAvailabilityDidChangeNotification API_AVAILABLE(ios(5.0));
40
+
41
+ /// @const MFMessageComposeViewControllerTextMessageAvailabilityKey
42
+ /// @abstract UserInfo key for MFMessageComposeViewControllerTextMessageAvailabilityDidChangeNotification
43
+ /// containing the value of <tt>+[MFMessageComposeViewController canSendText]</tt>
44
+ /// @discussion The value of this key is an NSNumber containing a BOOL value. This value matches
45
+ /// the result of <tt>+[MFMessageComposeViewController canSendText]</tt>.
46
+ extern NSString *const MFMessageComposeViewControllerTextMessageAvailabilityKey API_AVAILABLE(ios(5.0));
47
+
48
+ @class MSMessage;
49
+ @protocol MFMessageComposeViewControllerDelegate;
50
+
51
+ /// @class MFMessageComposeViewController
52
+ /// @abstract The MFMessageComposeViewController class provides an interface for editing and sending a message.
53
+ /// @discussion The MFMessageComposeViewController class manages all user interaction. The client needs to set
54
+ /// the recipient or recipients. The client may also set the body of the message. After setup, the
55
+ /// client needs to only display the view.
56
+ /// <p>The provided delegate will be informed of the user's composition completion and how they chose
57
+ /// to complete the operation.</p>
58
+ /// <p>Prior to use, clients should verify the user has set up the device for sending messages via
59
+ /// <tt>+[MFMessageComposeViewController canSendText]</tt>.</p>
60
+ API_AVAILABLE(ios(4.0))
61
+ @interface MFMessageComposeViewController : UINavigationController {
62
+ }
63
+
64
+ /// @method canSendText
65
+ /// @abstract Returns <tt>YES</tt> if the user has set up the device for sending text only messages.
66
+ /// @discussion If the return value is YES, the client can set the recipients and body of the message.
67
+ /// If the return value is NO, the client may notify the user of the failure, or the
68
+ /// client may open an SMS URL via <tt>-[UIApplication openURL:]</tt>.
69
+ + (BOOL)canSendText;
70
+
71
+ /// @method canSendSubject
72
+ /// @abstract Returns <tt>YES</tt><tt>if the user has set up the device for including subjects in messages.</tt>.
73
+ + (BOOL)canSendSubject API_AVAILABLE(ios(7.0));
74
+
75
+ /// @method canSendAttachments
76
+ /// @abstract Returns <tt>YES</tt><tt>if the user has set up the device for including attachments in messages.</tt>.
77
+ + (BOOL)canSendAttachments API_AVAILABLE(ios(7.0));
78
+
79
+ /// @method isSupportedAttachmentUTI:
80
+ /// @abstract Returns <tt>YES</tt>if the attachment at the specified URL could be accepted by the current composition.
81
+ /// @discussion If the return value is YES, the UTI is acceptable for attachment to a message, a return value of NO
82
+ /// indicates that the given UTI is unsupported.
83
+ + (BOOL)isSupportedAttachmentUTI:(NSString *)uti API_AVAILABLE(ios(7.0));
84
+
85
+ /// @property messageComposeDelegate
86
+ /// @abstract This property is the delegate for the MFMessageComposeViewController method callbacks.
87
+ @property (nonatomic, nullable, weak) id<MFMessageComposeViewControllerDelegate> messageComposeDelegate;
88
+
89
+ /// @method disableUserAttachments;
90
+ /// @abstract Calling this method will disable the camera/attachment button in the view controller. After the controller has been presented,
91
+ /// this call will have no effect. The camera / attachment button is visible by default.
92
+ - (void)disableUserAttachments API_AVAILABLE(ios(7.0));
93
+
94
+ /// @property recipients
95
+ /// @abstract This property sets the initial value of the To field for the message to the specified addresses.
96
+ /// @discussion This property will set the initial value of the To field for the message from an NSArray of
97
+ /// NSString instances specifying the message addresses of recipients. This should be called prior
98
+ /// to display.
99
+ /// <p>After the view has been presented to the user, this property will no longer change the value.</p>
100
+ @property (nonatomic, nullable, copy) NSArray<NSString *> *recipients;
101
+
102
+ /// @property body
103
+ /// @abstract This property sets the initial value of the body of the message to the specified content.
104
+ /// @discussion This property will set the initial value of the body of the message. This should be called prior
105
+ /// to display.
106
+ /// <p>After the view has been presented to the user, this property will no longer change the value.</p>
107
+ @property (nonatomic, nullable, copy) NSString *body;
108
+
109
+ /// @property subject
110
+ /// @abstract This property sets the initial value of the subject of the message to the specified content.
111
+ /// @discussion This property will set the initial value of the subject of the message. This should be called prior
112
+ /// to display.
113
+ /// <p>After the view has been presented to the user, this property will no longer change the value.</p>
114
+ @property (nonatomic, nullable, copy) NSString *subject API_AVAILABLE(ios(7.0));
115
+
116
+ /// @property attachments
117
+ /// @abstract This property returns an NSArray of NSDictionaries describing the properties of the current attachments.
118
+ /// @discussion This property returns an NSArray of NSDictionaries describing the properties of the current attachments.
119
+ /// See MFMessageComposeViewControllerAttachmentURL, MFMessageComposeViewControllerAttachmentAlternateFilename.
120
+ @property (nonatomic, nullable, readonly, copy) NSArray<NSDictionary *> *attachments API_AVAILABLE(ios(7.0));
121
+
122
+ /// @property message
123
+ /// @abstract This property sets the initial interactive message.
124
+ @property (nonatomic, nullable, copy) MSMessage *message API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(visionos);
125
+
126
+ /// @method addAttachmentURL:withAlternateFilename:
127
+ /// @abstract Returns <tt>YES</tt>if the attachment at the specified URL was added to the composition successfully.
128
+ /// @discussion If the return value is YES, the attachment was added to the composition. If the return value is NO,
129
+ /// the attachment was not added to the composition. All attachment URLs must be file urls. The file
130
+ /// URL must not be NIL. The alternate filename will be display to the user in leiu of the attachments URL.
131
+ /// The alternate filename may be NIL.
132
+ - (BOOL)addAttachmentURL:(NSURL *)attachmentURL withAlternateFilename:(nullable NSString *)alternateFilename API_AVAILABLE(ios(7.0));
133
+
134
+ /// @method addAttachmentData:typeIdentifier:filename:
135
+ /// @abstract Returns <tt>YES</tt>if the attachment was added to the composition successfully.
136
+ /// @discussion If the return value is YES, the attachment was added to the composition. If the return value is NO,
137
+ /// the attachment was not added to the composition. The data and typeIdentifer must be non-nil. typeIdentifier should be a valid Uniform Type Identifier.
138
+ - (BOOL)addAttachmentData:(NSData *)attachmentData typeIdentifier:(NSString *)uti filename:(NSString *)filename API_AVAILABLE(ios(7.0));
139
+
140
+ /// @method insertCollaborationItemProvider:
141
+ /// @param itemProvider created from ShareSheet
142
+ /// @abstract Returns <tt>YES</tt> if the item provider was added to the composition successfully.
143
+ /// @discussion If the return value is YES, the itemProvider was added to the composition. If the return value is NO,
144
+ /// the itemProvider was not added to the composition. The itemProvider must be non-nil.
145
+ - (BOOL)insertCollaborationItemProvider:(NSItemProvider *)itemProvider API_AVAILABLE(macos(13.0), ios(16.0));
146
+
147
+ @end
148
+
149
+
150
+ /// @protocol MFMessageComposeViewControllerDelegate
151
+ /// @abstract Protocol for delegate callbacks to MFMessageComposeViewControllerDelegate instances.
152
+ /// @discussion This protocol will be implemented by delegates of MFMessageComposeViewController instances.
153
+ /// It will be called at various times while the user is composing, sending, or canceling
154
+ /// message composition.
155
+ @protocol MFMessageComposeViewControllerDelegate <NSObject>
156
+ @required
157
+ /// @method messageComposeViewController:didFinishWithResult:
158
+ /// @abstract Delegate callback which is called upon user's completion of message composition.
159
+ /// @discussion This delegate callback will be called when the user completes the message composition.
160
+ /// How the user chose to complete this task will be given as one of the parameters to the
161
+ /// callback. Upon this call, the client should remove the view associated with the controller,
162
+ /// typically by dismissing modally.
163
+ /// @param controller The MFMessageComposeViewController instance which is returning the result.
164
+ /// @param result MessageComposeResult indicating how the user chose to complete the composition process.
165
+ - (void)messageComposeViewController:(MFMessageComposeViewController *)controller didFinishWithResult:(MessageComposeResult)result;
166
+
167
+ @end
168
+
169
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,13 @@
1
+ /*
2
+ * MessageUI.h
3
+ * MessageUI
4
+ *
5
+ * Copyright 2009, 2010 Apple Inc. All rights reserved.
6
+ *
7
+ */
8
+
9
+ #import <MessageUI/MFComposeAssistantViewController.h>
10
+ #import <MessageUI/MFMailComposeControllerDeferredAction.h>
11
+ #import <MessageUI/MFMailComposeViewController.h>
12
+ #import <MessageUI/MFMailDraft.h>
13
+ #import <MessageUI/MFMessageComposeViewController.h>
@@ -0,0 +1,11 @@
1
+ framework module MessageUI [system] {
2
+ umbrella header "MessageUI.h"
3
+
4
+ explicit module UPI {
5
+ header "MFMessageComposeViewController+UPI.h"
6
+ export *
7
+ }
8
+
9
+ export *
10
+ module * { export * }
11
+ }
@@ -0,0 +1,9 @@
1
+ //
2
+ // MTL4AccelerationStructure.h
3
+ // Metal
4
+ //
5
+ // Copyright (c) 2024 Apple Inc. All rights reserved.
6
+ //
7
+
8
+ #import <Metal/MTLAccelerationStructure.h>
9
+
@@ -0,0 +1,16 @@
1
+ //
2
+ // MTL4Archive.h
3
+ // Metal
4
+ //
5
+ // Copyright © 2024 Apple, Inc. All rights reserved.
6
+ //
7
+
8
+ #ifndef MTL4Archive_h
9
+ #define MTL4Archive_h
10
+
11
+ #import <Metal/MTLDefines.h>
12
+ #import <Metal/MTLDevice.h>
13
+ #import <Metal/MTL4ComputePipeline.h>
14
+ #import <Metal/MTL4RenderPipeline.h>
15
+
16
+ #endif // MTL4Archive_h
@@ -0,0 +1,17 @@
1
+ //
2
+ // MTL4ArgumentTable.h
3
+ // Metal
4
+ //
5
+ // Copyright © 2024 Apple, Inc. All rights reserved.
6
+ //
7
+
8
+ #import <Foundation/Foundation.h>
9
+
10
+ #import <Metal/MTLDevice.h>
11
+ #import <Metal/MTLDefines.h>
12
+ #import <Metal/MTLTypes.h>
13
+
14
+ NS_ASSUME_NONNULL_BEGIN
15
+
16
+
17
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,13 @@
1
+ //
2
+ // MTL4BinaryFunction.h
3
+ // Metal
4
+ //
5
+ // Copyright © 2024 Apple, Inc. All rights reserved.
6
+ //
7
+
8
+ #ifndef MTL4BinaryFunction_h
9
+ #define MTL4BinaryFunction_h
10
+
11
+ #import <Metal/MTLDefines.h>
12
+
13
+ #endif // MTL4BinaryFunction_h
@@ -0,0 +1,14 @@
1
+ //
2
+ // MTL4BinaryFunctionDescriptor.h
3
+ // Metal
4
+ //
5
+ // Copyright © 2024 Apple, Inc. All rights reserved.
6
+ //
7
+
8
+ #ifndef MTL4BinaryFunctionDescriptor_h
9
+ #define MTL4BinaryFunctionDescriptor_h
10
+
11
+ #import <Metal/MTLDefines.h>
12
+
13
+
14
+ #endif // MTLBinary4FunctionDescriptor_h
@@ -0,0 +1,79 @@
1
+ //
2
+ // MTL4BufferRange.h
3
+ // Metal
4
+ //
5
+ // Copyright (c) 2025 Apple Inc. All rights reserved.
6
+ //
7
+
8
+ #ifdef __METAL_VERSION__
9
+
10
+ #import <metal_stdlib>
11
+ #import <Metal/MTLGPUAddress.h>
12
+
13
+ #else
14
+
15
+ #include <stdint.h>
16
+
17
+ #ifndef _WIN32
18
+ #import <Metal/MTLDefines.h>
19
+ #import <Metal/MTLGPUAddress.h>
20
+ #else
21
+ #include <Metal/MTLDefines.h>
22
+ #include <Metal/MTLGPUAddress.h>
23
+ #endif // _WIN32
24
+
25
+ #endif
26
+
27
+ /**
28
+ * @brief A struct representing a range of a Metal buffer. The offset into the buffer is included in the address.
29
+ * The length is generally optional, which a value of (uint64_t)-1 representing the range from the given address to
30
+ * the end of the buffer. However, providing the length can enable more accurate API validation, especially when
31
+ * sub-allocating ranges of a buffer.
32
+ */
33
+ typedef struct MTL4BufferRange {
34
+ /**
35
+ * @brief Buffer address returned by the gpuAddress property of an MTLBuffer plus any offset into the buffer
36
+ */
37
+ MTLGPUAddress bufferAddress;
38
+
39
+ /**
40
+ * @brief Length of the region which begins at the given address. If the length is not known, a value of
41
+ * (uint64_t)-1 represents the range from the given address to the end of the buffer.
42
+ */
43
+ uint64_t length;
44
+
45
+ #ifdef __cplusplus
46
+ MTL4BufferRange()
47
+ : bufferAddress(0),
48
+ length(0)
49
+ {
50
+ }
51
+
52
+ MTL4BufferRange(MTLGPUAddress bufferAddress)
53
+ : bufferAddress(bufferAddress),
54
+ length((uint64_t)-1)
55
+ {
56
+ }
57
+
58
+ MTL4BufferRange(MTLGPUAddress bufferAddress, uint64_t length)
59
+ : bufferAddress(bufferAddress),
60
+ length(length)
61
+ {
62
+ }
63
+ #endif
64
+ } MTL4BufferRange;
65
+
66
+ #ifndef __METAL_VERSION__
67
+ /**
68
+ * @brief Create a buffer range from a buffer's GPU address (given by the gpuAddress property) and length. A length of
69
+ * (uint64_t)-1 represents the the range from the given address to the end of the buffer.
70
+ */
71
+ MTL_INLINE MTL4BufferRange MTL4BufferRangeMake(MTLGPUAddress bufferAddress, uint64_t length) {
72
+ MTL4BufferRange range;
73
+
74
+ range.bufferAddress = bufferAddress;
75
+ range.length = length;
76
+
77
+ return range;
78
+ }
79
+ #endif
@@ -0,0 +1,15 @@
1
+ //
2
+ // MTL4CommandAllocator.h
3
+ // Metal
4
+ //
5
+ // Copyright © 2024 Apple, Inc. All rights reserved.
6
+ //
7
+
8
+ #ifndef MTL4CommandAllocator_h
9
+ #define MTL4CommandAllocator_h
10
+
11
+ #import <Metal/MTLDefines.h>
12
+ #import <Metal/MTLDevice.h>
13
+
14
+
15
+ #endif //MTL4CommandAllocator_h
@@ -0,0 +1,17 @@
1
+ //
2
+ // MTL4CommandBuffer.h
3
+ // Metal
4
+ //
5
+ // Copyright © 2024 Apple, Inc. All rights reserved.
6
+ //
7
+
8
+ #ifndef MTL4CommandBuffer_h
9
+ #define MTL4CommandBuffer_h
10
+
11
+ #import <Metal/MTLDefines.h>
12
+ #import <Metal/MTLCommandBuffer.h>
13
+ #import <Metal/MTL4RenderCommandEncoder.h>
14
+ #import <Metal/MTL4BufferRange.h>
15
+
16
+
17
+ #endif //MTL4CommandBuffer_h
@@ -0,0 +1,16 @@
1
+ //
2
+ // MTL4CommandEncoder.h
3
+ // Metal
4
+ //
5
+ // Copyright © 2024 Apple, Inc. All rights reserved.
6
+ //
7
+
8
+ #ifndef MTL4CommandEncoder_h
9
+ #define MTL4CommandEncoder_h
10
+
11
+ #import <Metal/MTLDefines.h>
12
+ #import <Metal/MTLFence.h>
13
+ #import <Metal/MTLCommandEncoder.h>
14
+
15
+
16
+ #endif //MTL4CommandEncoder_h
@@ -0,0 +1,19 @@
1
+ //
2
+ // MTL4CommandQueue.h
3
+ // Metal
4
+ //
5
+ // Copyright © 2024-2025 Apple, Inc. All rights reserved.
6
+ //
7
+
8
+ #ifndef MTL4CommandQueue_h
9
+ #define MTL4CommandQueue_h
10
+
11
+ #import <Metal/MTL4CommandBuffer.h>
12
+ #import <Metal/MTL4CommandEncoder.h>
13
+ #import <Metal/MTLTypes.h>
14
+ #import <Metal/MTLEvent.h>
15
+ #import <Metal/MTL4CommitFeedback.h>
16
+ #import <Metal/MTLResourceStateCommandEncoder.h>
17
+
18
+
19
+ #endif //MTL4CommandQueue_h