peachsim 0.1.1738 → 0.1.1744

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 (327) hide show
  1. package/README.md +4 -0
  2. package/cli/app-catalog.ts +47 -23
  3. package/cli/app-fonts.ts +19 -1
  4. package/cli/command-registry.ts +3 -0
  5. package/cli/commands/control.ts +67 -16
  6. package/cli/commands/device.ts +3 -1
  7. package/cli/commands/doctor.ts +1 -4
  8. package/cli/commands/inspect/settling.ts +6 -1
  9. package/cli/commands/inspect/wait-ready.ts +22 -2
  10. package/cli/commands/package.ts +22 -20
  11. package/cli/commands/push.ts +56 -0
  12. package/cli/commands/serve.ts +9 -0
  13. package/cli/commands/shell-url.ts +37 -9
  14. package/cli/commands/swift.ts +1 -1
  15. package/cli/current-sim.ts +27 -0
  16. package/cli/drivers/linux-browser-libs.lock.json +323 -1
  17. package/cli/drivers/linux-browser-libs.ts +8 -6
  18. package/cli/drivers/playwright.ts +5 -1
  19. package/cli/internal-child.ts +11 -1
  20. package/cli/main.ts +6 -0
  21. package/cli/native-input.ts +1 -7
  22. package/cli/outbound-endpoints.ts +9 -1
  23. package/cli/packaged-app-launcher.ts +3 -1
  24. package/cli/scene-video.ts +4 -0
  25. package/cli/ws-bridge.ts +3 -1
  26. package/detox/index.ts +9 -4
  27. package/dist-lib/agent-daemon-client.cjs +1 -1
  28. package/dist-lib/agent-events.cjs +1 -1
  29. package/dist-lib/attached-projects.cjs +1 -1
  30. package/dist-lib/auth/shared-session.cjs +1 -1
  31. package/dist-lib/backend-origin.cjs +1 -1
  32. package/dist-lib/beta.cjs +1 -1
  33. package/dist-lib/beta.mjs +1 -1
  34. package/dist-lib/bridge-constants.cjs +1 -1
  35. package/dist-lib/bridge-contract-input.cjs +1 -1
  36. package/dist-lib/bridge-contract-input.mjs +1 -1
  37. package/dist-lib/bridge-contract.cjs +1 -1
  38. package/dist-lib/bridge-contract.mjs +1 -1
  39. package/dist-lib/bundle-channel.cjs +7372 -3675
  40. package/dist-lib/capture-contract.cjs +1 -1
  41. package/dist-lib/capture-contract.mjs +1 -1
  42. package/dist-lib/cloud-contract.cjs +1 -1
  43. package/dist-lib/cloud-contract.mjs +1 -1
  44. package/dist-lib/cloud-test-args.cjs +1 -1
  45. package/dist-lib/cloud-test-args.mjs +1 -1
  46. package/dist-lib/cloud.cjs +1 -1
  47. package/dist-lib/cloud.mjs +1 -1
  48. package/dist-lib/config.cjs +1 -1
  49. package/dist-lib/config.mjs +1 -1
  50. package/dist-lib/detox/index.cjs +22 -8
  51. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  52. package/dist-lib/expo-swift-bundle.cjs +6340 -3064
  53. package/dist-lib/expo-swift-metadata.cjs +14 -2
  54. package/dist-lib/expo-swift-metadata.mjs +14 -2
  55. package/dist-lib/home-paths.cjs +1 -1
  56. package/dist-lib/host/bridge-host.cjs +6524 -2720
  57. package/dist-lib/host/fetch-proxy-handler.cjs +8 -7
  58. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  59. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  60. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  61. package/dist-lib/host/websocket-proxy.cjs +6 -3
  62. package/dist-lib/index.cjs +97 -31
  63. package/dist-lib/jump-to-source-babel.cjs +1 -1
  64. package/dist-lib/jump-to-source-native.cjs +1 -1
  65. package/dist-lib/kotlin-host.cjs +1 -1
  66. package/dist-lib/menu.cjs +1 -1
  67. package/dist-lib/menu.mjs +1 -1
  68. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  69. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  70. package/dist-lib/metro-production-bundle.cjs +1 -1
  71. package/dist-lib/metro-production-bundle.mjs +1 -1
  72. package/dist-lib/metro.cjs +71 -29
  73. package/dist-lib/native-app-identity-project.cjs +53 -22
  74. package/dist-lib/native-app-identity-project.mjs +53 -22
  75. package/dist-lib/native-app-identity.cjs +10 -3
  76. package/dist-lib/native-app-identity.mjs +10 -3
  77. package/dist-lib/native-firebase-metadata.cjs +1 -1
  78. package/dist-lib/native-firebase-metadata.mjs +1 -1
  79. package/dist-lib/plist.cjs +1 -1
  80. package/dist-lib/plist.mjs +1 -1
  81. package/dist-lib/profiles.cjs +1 -1
  82. package/dist-lib/public-brand.cjs +1 -1
  83. package/dist-lib/public-origins-lib-esm.json +25 -23
  84. package/dist-lib/public-origins-lib.json +111 -79
  85. package/dist-lib/react-native-host-modules.cjs +1 -1
  86. package/dist-lib/react-native-host-modules.mjs +1 -1
  87. package/dist-lib/reap-browser.cjs +1 -1
  88. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  89. package/dist-lib/sdk.cjs +4 -1
  90. package/dist-lib/sdk.mjs +4 -1
  91. package/dist-lib/skills.cjs +40549 -37613
  92. package/dist-lib/swift-compile.cjs +2054 -388
  93. package/dist-lib/swift-compile.mjs +1976 -312
  94. package/dist-lib/swift-package.cjs +1 -1
  95. package/dist-lib/swift-package.mjs +1 -1
  96. package/dist-lib/swift-submit.cjs +2 -2
  97. package/dist-lib/swift-submit.mjs +2 -2
  98. package/dist-lib/swift-toolchain.cjs +68 -8
  99. package/dist-lib/swift.cjs +1 -1
  100. package/dist-lib/vite-swift.cjs +5867 -2646
  101. package/dist-lib/vite.cjs +18 -8
  102. package/dist-lib/worklet-executable.cjs +1 -1
  103. package/dist-lib/worklet-executable.mjs +1 -1
  104. package/dist-types/packages/peach-compat/src/stubs/screen-transition-math.d.ts +1 -0
  105. package/dist-types/packages/peach-engine/src/cli-companion.d.ts +1 -0
  106. package/dist-types/packages/peach-engine/src/engine/canvaskit-renderer.d.ts +2 -0
  107. package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +0 -3
  108. package/dist-types/packages/peach-engine/src/engine/node.d.ts +6 -0
  109. package/dist-types/packages/peach-engine/src/engine/paint-boundary.d.ts +1 -0
  110. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +25 -3
  111. package/dist-types/packages/peach-engine/src/engine/scroll-platform.d.ts +1 -15
  112. package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +1 -3
  113. package/dist-types/packages/peach-engine/src/engine/text-first-baseline.d.ts +1 -0
  114. package/dist-types/packages/peach-engine/src/engine/types.d.ts +23 -0
  115. package/dist-types/packages/peach-engine/src/ios/chrome-metrics.d.ts +6 -0
  116. package/dist-types/packages/peach-engine/src/metro-identity-contract.d.ts +33 -0
  117. package/dist-types/packages/peach-engine/src/preview/bundle-layout.d.ts +1 -1
  118. package/dist-types/packages/peach-engine/src/remote-stream/scene-recording.d.ts +2 -0
  119. package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +1 -1
  120. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +2 -0
  121. package/dist-types/packages/peach-engine/src/render-worker/metro-bundle-metadata.d.ts +28 -0
  122. package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +21 -1
  123. package/dist-types/packages/peach-engine/src/render-worker/prepared-boot-bundle.d.ts +7 -0
  124. package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +8 -0
  125. package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +1 -0
  126. package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +5 -0
  127. package/dist-types/packages/peach-engine/src/render-worker/test-bridge-protocol.d.ts +3 -3
  128. package/dist-types/packages/peach-engine/src/render-worker/webgpu-frame-transaction.d.ts +1 -0
  129. package/dist-types/packages/peach-engine/src/render-worker/webgpu-readback-scheduler.d.ts +1 -1
  130. package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +1 -0
  131. package/dist-types/packages/peach-engine/src/rolldown-bundle-inventory.d.ts +8 -1
  132. package/dist-types/packages/peach-engine/src/rolldown-production-fingerprint.d.ts +1 -4
  133. package/dist-types/packages/peach-engine/src/rolldown-production-module.d.ts +12 -0
  134. package/dist-types/packages/peach-engine/src/rolldown-production-roles.d.ts +6 -0
  135. package/dist-types/packages/peach-engine/src/settings/devices.d.ts +6 -1
  136. package/dist-types/packages/peach-engine/src/settings/duo-fold-bus.d.ts +1 -0
  137. package/dist-types/packages/peach-engine/src/shell-events.d.ts +4 -0
  138. package/dist-types/packages/peach-kit/src/capabilities.d.ts +7 -0
  139. package/package.json +2 -1
  140. package/runtime-companion.json +1 -1
  141. package/sdk/ios/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h +1 -0
  142. package/sdk/ios/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h +257 -0
  143. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h +305 -0
  144. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +2 -0
  145. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h +204 -0
  146. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h +260 -0
  147. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h +164 -0
  148. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h +101 -0
  149. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h +510 -0
  150. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h +1132 -0
  151. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGConvertColorDataWithFormat.h +34 -0
  152. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h +83 -0
  153. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h +197 -0
  154. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEXRToneMappingGamma.h +36 -0
  155. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h +38 -0
  156. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h +312 -0
  157. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h +106 -0
  158. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h +123 -0
  159. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGITUToneMapping.h +31 -0
  160. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h +409 -0
  161. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h +78 -0
  162. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h +120 -0
  163. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h +55 -0
  164. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h +535 -0
  165. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h +133 -0
  166. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h +252 -0
  167. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFMarkedContentItem.h +37 -0
  168. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h +67 -0
  169. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h +51 -0
  170. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h +101 -0
  171. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h +123 -0
  172. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h +44 -0
  173. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h +52 -0
  174. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStructureElement.h +87 -0
  175. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h +441 -0
  176. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h +89 -0
  177. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGRenderingBufferProvider.h +49 -0
  178. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h +124 -0
  179. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGToneMapping.h +85 -0
  180. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h +44 -252
  181. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Modules/module.modulemap +1 -0
  182. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/CFNetworkErrors.h +257 -0
  183. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes +0 -6
  184. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +356 -61
  185. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/NSURLSession+Network.h +32 -0
  186. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/Network.h +51 -0
  187. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/advertise_descriptor.h +193 -0
  188. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/browse_descriptor.h +163 -0
  189. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/browse_result.h +207 -0
  190. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/browser.h +285 -0
  191. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/connection.h +714 -0
  192. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/connection_group.h +629 -0
  193. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/connection_report.h +932 -0
  194. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/content_context.h +229 -0
  195. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/endpoint.h +390 -0
  196. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/error.h +135 -0
  197. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/ethernet_channel.h +349 -0
  198. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/framer_options.h +1187 -0
  199. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/group_descriptor.h +184 -0
  200. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/interface.h +150 -0
  201. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/ip_options.h +351 -0
  202. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/listener.h +438 -0
  203. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/nw_object.h +200 -0
  204. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/parameters.h +1205 -0
  205. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/path.h +392 -0
  206. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/path_monitor.h +216 -0
  207. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/privacy_context.h +188 -0
  208. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/protocol_options.h +126 -0
  209. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/proxy_config.h +357 -0
  210. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/quic_options.h +889 -0
  211. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/resolver_config.h +94 -0
  212. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/tcp_options.h +459 -0
  213. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/tls_options.h +115 -0
  214. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/txt_record.h +432 -0
  215. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/udp_options.h +112 -0
  216. package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/ws_options.h +743 -0
  217. package/sdk/ios/System/Library/Frameworks/Network.framework/Modules/module.modulemap +9 -0
  218. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h +395 -0
  219. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h +132 -0
  220. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h +107 -0
  221. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h +153 -0
  222. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h +151 -0
  223. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAFrameRateRange.h +40 -0
  224. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h +78 -0
  225. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h +1078 -0
  226. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h +97 -0
  227. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h +67 -0
  228. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h +65 -0
  229. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h +64 -0
  230. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h +135 -0
  231. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h +99 -0
  232. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h +67 -0
  233. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h +124 -0
  234. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h +138 -0
  235. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h +40 -0
  236. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h +78 -0
  237. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h +19 -38
  238. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h +1757 -0
  239. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h +19 -0
  240. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h +28 -0
  241. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h +114 -0
  242. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h +16 -0
  243. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h +47 -0
  244. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h +20 -0
  245. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h +13 -0
  246. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h +16 -0
  247. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h +84 -0
  248. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h +119 -0
  249. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h +66 -0
  250. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h +45 -0
  251. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h +161 -37
  252. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h +76 -0
  253. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h +8 -0
  254. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h +78 -0
  255. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h +29 -0
  256. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h +104 -0
  257. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h +19 -0
  258. package/sdk/ios/usr/include/dns_sd.h +3616 -0
  259. package/sdk/ios/usr/include/dnssd.modulemap +4 -0
  260. package/sdk/ios/usr/include/module.modulemap +1 -0
  261. package/sdk/ios/usr/include/sys/socketvar.h +191 -0
  262. package/sdk/ios/usr/include/sys/vsock.h +84 -0
  263. package/sdk/native-hashes.json +1 -1
  264. package/skills/contrast/SKILL.md +6 -5
  265. package/skills/peach-debug/SKILL.md +68 -264
  266. package/skills/peach-debug/references/accessibility.md +37 -73
  267. package/skills/peach-debug/references/commands.md +2 -2
  268. package/skills/peach-debug/references/events.md +74 -0
  269. package/skills/peach-perf/SKILL.md +64 -401
  270. package/skills/peach-perf/references/presentation.md +46 -0
  271. package/skills/peach-perf/references/profiling.md +93 -0
  272. package/skills/peach-perf/references/render-counters.md +57 -0
  273. package/skills/peach-setup/SKILL.md +66 -216
  274. package/skills/peach-setup/references/native-config.md +35 -0
  275. package/skills/peach-setup/references/reporting.md +28 -0
  276. package/skills/peach-test/SKILL.md +68 -284
  277. package/skills/peach-test/references/detox.md +69 -0
  278. package/skills/peach-test/references/maestro.md +95 -0
  279. package/skills/peach-visual/SKILL.md +53 -105
  280. package/src/appPackageContract.ts +12 -1
  281. package/src/assetCatalogContract.ts +8 -1
  282. package/src/bridge-contract.ts +6 -0
  283. package/src/bundle-channel.mjs +133 -59
  284. package/src/cli-runtime.ts +8 -9
  285. package/src/configured-bundle-producer.ts +10 -0
  286. package/src/device-catalog.ts +68 -4
  287. package/src/expo-discovery-cache.ts +3 -0
  288. package/src/expo-native-workspace.ts +81 -17
  289. package/src/expo-swift-host.ts +57 -104
  290. package/src/expo-widget-assets.ts +76 -0
  291. package/src/expoSwiftContract.ts +13 -1
  292. package/src/host/websocket-proxy.ts +7 -2
  293. package/src/native-prebuilt.ts +3 -3
  294. package/src/nitro-adapter.lock.json +263 -263
  295. package/src/nitro-adapter.ts +69 -7
  296. package/src/nitro-bundle.ts +52 -24
  297. package/src/nitro-compile.ts +6 -1
  298. package/src/nitro-source.ts +82 -4
  299. package/src/nitro-superset.lock.json +103 -0
  300. package/src/nitro-superset.ts +137 -0
  301. package/src/nitroContract.ts +5 -1
  302. package/src/react-bridge-importers.ts +1 -0
  303. package/src/settingsContract.ts +26 -1
  304. package/src/swift-compile.ts +267 -68
  305. package/src/swift-compiler-digest.ts +2 -0
  306. package/src/swift-coverage/xcode-packages.ts +61 -1
  307. package/src/swift-coverage/xcode.ts +10 -12
  308. package/src/swift-cxx-reachable.ts +1 -1
  309. package/src/swift-distribution.lock.json +15 -13
  310. package/src/swift-distribution.ts +57 -26
  311. package/src/swift-host.ts +48 -35
  312. package/src/swift-link-roots.ts +45 -18
  313. package/src/swift-objc-compile.ts +78 -2
  314. package/src/swift-objc-standin.ts +3 -0
  315. package/src/swift-shared-sdk.ts +85 -1
  316. package/src/swift-standins.ts +233 -11
  317. package/src/swift-submit.ts +13 -1
  318. package/src/swift-toolchain.ts +82 -7
  319. package/src/swift-wasm-prune.ts +1629 -0
  320. package/src/turbo-bundle.ts +11 -10
  321. package/src/turbo-runtime.lock.json +16 -16
  322. package/src/vite-plugin-one.ts +12 -1
  323. package/src/vite-plugin.ts +82 -23
  324. package/src/wasm-optimize.ts +34 -0
  325. package/src/worker-system-chunks.ts +3 -3
  326. package/src/xcode-project.ts +52 -0
  327. package/src/xcode-target-members.ts +12 -1
@@ -0,0 +1,97 @@
1
+ /* CoreAnimation - CAMediaTiming.h
2
+
3
+ Copyright (c) 2006-2026, Apple Inc.
4
+ All rights reserved. */
5
+
6
+ #ifdef __OBJC__
7
+
8
+ #import <QuartzCore/CABase.h>
9
+ #import <objc/objc.h>
10
+ #import <Foundation/Foundation.h>
11
+
12
+ /* The CAMediaTiming protocol is implemented by layers and animations, it
13
+ * models a hierarchical timing system, with each object describing the
14
+ * mapping from time values in the object's parent to local time.
15
+ *
16
+ * Absolute time is defined as mach time converted to seconds. The
17
+ * CACurrentMediaTime function is provided as a convenience for querying the
18
+ * current absolute time.
19
+ *
20
+ * The conversion from parent time to local time has two stages:
21
+ *
22
+ * 1. conversion to "active local time". This includes the point at
23
+ * which the object appears in the parent's timeline, and how fast it
24
+ * plays relative to the parent.
25
+ *
26
+ * 2. conversion from active to "basic local time". The timing model
27
+ * allows for objects to repeat their basic duration multiple times,
28
+ * and optionally to play backwards before repeating. */
29
+
30
+ @class NSString;
31
+
32
+ typedef NSString * CAMediaTimingFillMode NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
33
+
34
+ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
35
+
36
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
37
+ @protocol CAMediaTiming
38
+
39
+ /* The begin time of the object, in relation to its parent object, if
40
+ * applicable. Defaults to 0. */
41
+
42
+ @property CFTimeInterval beginTime;
43
+
44
+ /* The basic duration of the object. Defaults to 0. */
45
+
46
+ @property CFTimeInterval duration;
47
+
48
+ /* The rate of the layer. Used to scale parent time to local time, e.g.
49
+ * if rate is 2, local time progresses twice as fast as parent time.
50
+ * Defaults to 1. */
51
+
52
+ @property float speed;
53
+
54
+ /* Additional offset in active local time. i.e. to convert from parent
55
+ * time tp to active local time t: t = (tp - begin) * speed + offset.
56
+ * One use of this is to "pause" a layer by setting `speed' to zero and
57
+ * `offset' to a suitable value. Defaults to 0. */
58
+
59
+ @property CFTimeInterval timeOffset;
60
+
61
+ /* The repeat count of the object. May be fractional. Defaults to 0. */
62
+
63
+ @property float repeatCount;
64
+
65
+ /* The repeat duration of the object. Defaults to 0. */
66
+
67
+ @property CFTimeInterval repeatDuration;
68
+
69
+ /* When true, the object plays backwards after playing forwards. Defaults
70
+ * to NO. */
71
+
72
+ @property BOOL autoreverses;
73
+
74
+ /* Defines how the timed object behaves outside its active duration.
75
+ * Local time may be clamped to either end of the active duration, or
76
+ * the element may be removed from the presentation. The legal values
77
+ * are `backwards', `forwards', `both' and `removed'. Defaults to
78
+ * `removed'. */
79
+
80
+ @property(copy) CAMediaTimingFillMode fillMode;
81
+
82
+ @end
83
+
84
+ /* `fillMode' options. */
85
+
86
+ CA_EXTERN CAMediaTimingFillMode const kCAFillModeForwards
87
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
88
+ CA_EXTERN CAMediaTimingFillMode const kCAFillModeBackwards
89
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
90
+ CA_EXTERN CAMediaTimingFillMode const kCAFillModeBoth
91
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
92
+ CA_EXTERN CAMediaTimingFillMode const kCAFillModeRemoved
93
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
94
+
95
+ NS_HEADER_AUDIT_END(nullability, sendability)
96
+
97
+ #endif
@@ -0,0 +1,67 @@
1
+ /* CoreAnimation - CAMediaTimingFunction.h
2
+
3
+ Copyright (c) 2006-2026, Apple Inc.
4
+ All rights reserved. */
5
+
6
+ #ifdef __OBJC__
7
+
8
+ #import <QuartzCore/CAMediaTiming.h>
9
+ #import <Foundation/Foundation.h>
10
+
11
+ @class NSArray, NSString;
12
+
13
+ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
14
+
15
+ typedef NSString * CAMediaTimingFunctionName NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
16
+
17
+ /* Represents one segment of a function describing a timing curve. The
18
+ * function maps an input time normalized to the range [0,1] to an
19
+ * output time also in the range [0,1]. E.g. these functions are used
20
+ * to define the pacing of an animation over its duration (or over the
21
+ * duration of one keyframe). */
22
+
23
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
24
+ @interface CAMediaTimingFunction : NSObject <NSSecureCoding>
25
+ {
26
+ @private
27
+ struct CAMediaTimingFunctionPrivate *_priv;
28
+ }
29
+
30
+ /* A convenience method for creating common timing functions. The
31
+ * currently supported names are `linear', `easeIn', `easeOut' and
32
+ * `easeInEaseOut' and `default' (the curve used by implicit animations
33
+ * created by Core Animation). */
34
+
35
+ + (instancetype)functionWithName:(CAMediaTimingFunctionName)name;
36
+
37
+ /* Creates a timing function modelled on a cubic Bezier curve. The end
38
+ * points of the curve are at (0,0) and (1,1), the two points 'c1' and
39
+ * 'c2' defined by the class instance are the control points. Thus the
40
+ * points defining the Bezier curve are: '[(0,0), c1, c2, (1,1)]' */
41
+
42
+ + (instancetype)functionWithControlPoints:(float)c1x :(float)c1y :(float)c2x :(float)c2y;
43
+
44
+ - (instancetype)initWithControlPoints:(float)c1x :(float)c1y :(float)c2x :(float)c2y;
45
+
46
+ /* 'idx' is a value from 0 to 3 inclusive. */
47
+
48
+ - (void)getControlPointAtIndex:(size_t)idx values:(float[_Nonnull 2])ptr;
49
+
50
+ @end
51
+
52
+ /** Timing function names. **/
53
+
54
+ CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionLinear
55
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
56
+ CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionEaseIn
57
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
58
+ CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionEaseOut
59
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
60
+ CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionEaseInEaseOut
61
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
62
+ CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionDefault
63
+ API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
64
+
65
+ NS_HEADER_AUDIT_END(nullability, sendability)
66
+
67
+ #endif
@@ -0,0 +1,65 @@
1
+ /* CoreAnimation - CAReplicatorLayer.h
2
+
3
+ Copyright (c) 2008-2026, Apple Inc.
4
+ All rights reserved. */
5
+
6
+ #ifdef __OBJC__
7
+
8
+ #import <QuartzCore/CALayer.h>
9
+
10
+ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
11
+
12
+ /* The replicator layer creates a specified number of copies of its
13
+ * sublayers, each copy potentially having geometric, temporal and
14
+ * color transformations applied to it.
15
+ *
16
+ * Note: the CALayer -hitTest: method currently only tests the first
17
+ * instance of z replicator layer's sublayers. This may change in the
18
+ * future. */
19
+
20
+ API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
21
+ @interface CAReplicatorLayer : CALayer
22
+
23
+ /* The number of copies to create, including the source object.
24
+ * Default value is one (i.e. no extra copies). Animatable. */
25
+
26
+ @property NSInteger instanceCount;
27
+
28
+ /* Defines whether this layer flattens its sublayers into its plane or
29
+ * not (i.e. whether it's treated similarly to a transform layer or
30
+ * not). Defaults to NO. If YES, the standard restrictions apply (see
31
+ * CATransformLayer.h). */
32
+
33
+ @property BOOL preservesDepth;
34
+
35
+ /* The temporal delay between replicated copies. Defaults to zero.
36
+ * Animatable. */
37
+
38
+ @property CFTimeInterval instanceDelay;
39
+
40
+ /* The matrix applied to instance k-1 to produce instance k. The matrix
41
+ * is applied relative to the center of the replicator layer, i.e. the
42
+ * superlayer of each replicated sublayer. Defaults to the identity
43
+ * matrix. Animatable. */
44
+
45
+ @property CATransform3D instanceTransform;
46
+
47
+ /* The color to multiply the first object by (the source object). Defaults
48
+ * to opaque white. Animatable. */
49
+
50
+ @property(nullable) CGColorRef instanceColor;
51
+
52
+ /* The color components added to the color of instance k-1 to produce
53
+ * the modulation color of instance k. Defaults to the clear color (no
54
+ * change). Animatable. */
55
+
56
+ @property float instanceRedOffset;
57
+ @property float instanceGreenOffset;
58
+ @property float instanceBlueOffset;
59
+ @property float instanceAlphaOffset;
60
+
61
+ @end
62
+
63
+ NS_HEADER_AUDIT_END(nullability, sendability)
64
+
65
+ #endif
@@ -0,0 +1,64 @@
1
+ /* CoreAnimation - CAScrollLayer.h
2
+
3
+ Copyright (c) 2006-2026, Apple Inc.
4
+ All rights reserved. */
5
+
6
+ #ifdef __OBJC__
7
+
8
+ #import <QuartzCore/CALayer.h>
9
+
10
+ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
11
+
12
+ typedef NSString * CAScrollLayerScrollMode NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
13
+
14
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
15
+ @interface CAScrollLayer : CALayer
16
+
17
+ /* Changes the origin of the layer to point 'p'. */
18
+
19
+ - (void)scrollToPoint:(CGPoint)p;
20
+
21
+ /* Scroll the contents of the layer to ensure that rect 'r' is visible. */
22
+
23
+ - (void)scrollToRect:(CGRect)r;
24
+
25
+ /* Defines the axes in which the layer may be scrolled. Possible values
26
+ * are `none', `vertically', `horizontally' or `both' (the default). */
27
+
28
+ @property(copy) CAScrollLayerScrollMode scrollMode;
29
+
30
+ @end
31
+
32
+ @interface CALayer (CALayerScrolling)
33
+
34
+ /* These methods search for the closest ancestor CAScrollLayer of the *
35
+ * receiver, and then call either -scrollToPoint: or -scrollToRect: on
36
+ * that layer with the specified geometry converted from the coordinate
37
+ * space of the receiver to that of the found scroll layer. */
38
+
39
+ - (void)scrollPoint:(CGPoint)p;
40
+
41
+ - (void)scrollRectToVisible:(CGRect)r;
42
+
43
+ /* Returns the visible region of the receiver, in its own coordinate
44
+ * space. The visible region is the area not clipped by the containing
45
+ * scroll layer. */
46
+
47
+ @property(readonly) CGRect visibleRect;
48
+
49
+ @end
50
+
51
+ /* `scrollMode' values. */
52
+
53
+ CA_EXTERN CAScrollLayerScrollMode const kCAScrollNone
54
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
55
+ CA_EXTERN CAScrollLayerScrollMode const kCAScrollVertically
56
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
57
+ CA_EXTERN CAScrollLayerScrollMode const kCAScrollHorizontally
58
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
59
+ CA_EXTERN CAScrollLayerScrollMode const kCAScrollBoth
60
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
61
+
62
+ NS_HEADER_AUDIT_END(nullability, sendability)
63
+
64
+ #endif
@@ -0,0 +1,135 @@
1
+ /* CoreAnimation - CAShapeLayer.h
2
+
3
+ Copyright (c) 2008-2026, Apple Inc.
4
+ All rights reserved. */
5
+
6
+ #ifdef __OBJC__
7
+
8
+ #import <QuartzCore/CALayer.h>
9
+
10
+ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
11
+
12
+ typedef NSString * CAShapeLayerFillRule NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
13
+ typedef NSString * CAShapeLayerLineJoin NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
14
+ typedef NSString * CAShapeLayerLineCap NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
15
+
16
+ /* The shape layer draws a cubic Bezier spline in its coordinate space.
17
+ *
18
+ * The spline is described using a CGPath object and may have both fill
19
+ * and stroke components (in which case the stroke is composited over
20
+ * the fill). The shape as a whole is composited between the layer's
21
+ * contents and its first sublayer.
22
+ *
23
+ * The path object may be animated using any of the concrete subclasses
24
+ * of CAPropertyAnimation. Paths will interpolate as a linear blend of
25
+ * the "on-line" points; "off-line" points may be interpolated
26
+ * non-linearly (e.g. to preserve continuity of the curve's
27
+ * derivative). If the two paths have a different number of control
28
+ * points or segments the results are undefined.
29
+ *
30
+ * The shape will be drawn antialiased, and whenever possible it will
31
+ * be mapped into screen space before being rasterized to preserve
32
+ * resolution independence. (However, certain kinds of image processing
33
+ * operations, e.g. CoreImage filters, applied to the layer or its
34
+ * ancestors may force rasterization in a local coordinate space.)
35
+ *
36
+ * Note: rasterization may favor speed over accuracy, e.g. pixels with
37
+ * multiple intersecting path segments may not give exact results. */
38
+
39
+ API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40
+ @interface CAShapeLayer : CALayer
41
+
42
+ /* The path defining the shape to be rendered. If the path extends
43
+ * outside the layer bounds it will not automatically be clipped to the
44
+ * layer, only if the normal layer masking rules cause that. Upon
45
+ * assignment the path is copied. Defaults to null. Animatable.
46
+ * (Note that although the path property is animatable, no implicit
47
+ * animation will be created when the property is changed.) */
48
+
49
+ @property(nullable) CGPathRef path;
50
+
51
+ /* The color to fill the path, or nil for no fill. Defaults to opaque
52
+ * black. Animatable. */
53
+
54
+ @property(nullable) CGColorRef fillColor;
55
+
56
+ /* The fill rule used when filling the path. Options are `non-zero' and
57
+ * `even-odd'. Defaults to `non-zero'. */
58
+
59
+ @property(copy) CAShapeLayerFillRule fillRule;
60
+
61
+ /* The color to fill the path's stroked outline, or nil for no stroking.
62
+ * Defaults to nil. Animatable. */
63
+
64
+ @property(nullable) CGColorRef strokeColor;
65
+
66
+ /* These values define the subregion of the path used to draw the
67
+ * stroked outline. The values must be in the range [0,1] with zero
68
+ * representing the start of the path and one the end. Values in
69
+ * between zero and one are interpolated linearly along the path
70
+ * length. strokeStart defaults to zero and strokeEnd to one. Both are
71
+ * animatable. */
72
+
73
+ @property CGFloat strokeStart;
74
+ @property CGFloat strokeEnd;
75
+
76
+ /* The line width used when stroking the path. Defaults to one.
77
+ * Animatable. */
78
+
79
+ @property CGFloat lineWidth;
80
+
81
+ /* The miter limit used when stroking the path. Defaults to ten.
82
+ * Animatable. */
83
+
84
+ @property CGFloat miterLimit;
85
+
86
+ /* The cap style used when stroking the path. Options are `butt', `round'
87
+ * and `square'. Defaults to `butt'. */
88
+
89
+ @property(copy) CAShapeLayerLineCap lineCap;
90
+
91
+ /* The join style used when stroking the path. Options are `miter', `round'
92
+ * and `bevel'. Defaults to `miter'. */
93
+
94
+ @property(copy) CAShapeLayerLineJoin lineJoin;
95
+
96
+ /* The phase of the dashing pattern applied when creating the stroke.
97
+ * Defaults to zero. Animatable. */
98
+
99
+ @property CGFloat lineDashPhase;
100
+
101
+ /* The dash pattern (an array of NSNumbers) applied when creating the
102
+ * stroked version of the path. Defaults to nil. */
103
+
104
+ @property(nullable, copy) NSArray<NSNumber *> *lineDashPattern;
105
+
106
+ @end
107
+
108
+ /* `fillRule' values. */
109
+
110
+ CA_EXTERN CAShapeLayerFillRule const kCAFillRuleNonZero
111
+ API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
112
+ CA_EXTERN CAShapeLayerFillRule const kCAFillRuleEvenOdd
113
+ API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
114
+
115
+ /* `lineJoin' values. */
116
+
117
+ CA_EXTERN CAShapeLayerLineJoin const kCALineJoinMiter
118
+ API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
119
+ CA_EXTERN CAShapeLayerLineJoin const kCALineJoinRound
120
+ API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
121
+ CA_EXTERN CAShapeLayerLineJoin const kCALineJoinBevel
122
+ API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123
+
124
+ /* `lineCap' values. */
125
+
126
+ CA_EXTERN CAShapeLayerLineCap const kCALineCapButt
127
+ API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
128
+ CA_EXTERN CAShapeLayerLineCap const kCALineCapRound
129
+ API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
130
+ CA_EXTERN CAShapeLayerLineCap const kCALineCapSquare
131
+ API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
132
+
133
+ NS_HEADER_AUDIT_END(nullability, sendability)
134
+
135
+ #endif
@@ -0,0 +1,99 @@
1
+ /* CoreAnimation - CATextLayer.h
2
+
3
+ Copyright (c) 2006-2026, Apple Inc.
4
+ All rights reserved. */
5
+
6
+ #ifdef __OBJC__
7
+
8
+ #import <QuartzCore/CALayer.h>
9
+
10
+ /* The text layer provides simple text layout and rendering of plain
11
+ * or attributed strings. The first line is aligned to the top of the
12
+ * layer. */
13
+
14
+ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
15
+
16
+ typedef NSString * CATextLayerTruncationMode NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(3.2), tvos(9.0)) API_UNAVAILABLE(watchos);
17
+ typedef NSString * CATextLayerAlignmentMode NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(3.2), tvos(9.0)) API_UNAVAILABLE(watchos);
18
+
19
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20
+ @interface CATextLayer : CALayer
21
+ {
22
+ @private
23
+ struct CATextLayerPrivate *_state;
24
+ }
25
+
26
+ /* The text to be rendered, should be either an NSString or an
27
+ * NSAttributedString. Defaults to nil. */
28
+
29
+ @property(nullable, copy) id string;
30
+
31
+ /* The font to use, currently may be either a CTFontRef (toll-free
32
+ * bridged from NSFont or UIFont), a CGFontRef, or a string naming the font.
33
+ * Defaults to the Helvetica font. Only used when the `string' property
34
+ * is not an NSAttributedString. */
35
+
36
+ @property(nullable) CFTypeRef font;
37
+
38
+ /* The font size. Defaults to 36. Only used when the `string' property
39
+ * is not an NSAttributedString. Animatable (Mac OS X 10.6 and later.) */
40
+
41
+ @property CGFloat fontSize;
42
+
43
+ /* The color object used to draw the text. Defaults to opaque white.
44
+ * Only used when the `string' property is not an NSAttributedString.
45
+ * Animatable (Mac OS X 10.6 and later.) */
46
+
47
+ @property(nullable) CGColorRef foregroundColor;
48
+
49
+ /* When true the string is wrapped to fit within the layer bounds.
50
+ * Defaults to NO.*/
51
+
52
+ @property(getter=isWrapped) BOOL wrapped;
53
+
54
+ /* Describes how the string is truncated to fit within the layer
55
+ * bounds. The possible options are `none', `start', `middle' and
56
+ * `end'. Defaults to `none'. */
57
+
58
+ @property(copy) CATextLayerTruncationMode truncationMode;
59
+
60
+ /* Describes how individual lines of text are aligned within the layer
61
+ * bounds. The possible options are `natural', `left', `right',
62
+ * `center' and `justified'. Defaults to `natural'. */
63
+
64
+ @property(copy) CATextLayerAlignmentMode alignmentMode;
65
+
66
+ /* Sets allowsFontSubpixelQuantization parameter of CGContextRef
67
+ * passed to the -drawInContext: method. Defaults to NO. */
68
+
69
+ @property BOOL allowsFontSubpixelQuantization;
70
+
71
+ @end
72
+
73
+ /* Truncation modes. */
74
+
75
+ CA_EXTERN CATextLayerTruncationMode const kCATruncationNone
76
+ API_AVAILABLE(macos(10.5), ios(3.2), tvos(9.0)) API_UNAVAILABLE(watchos);
77
+ CA_EXTERN CATextLayerTruncationMode const kCATruncationStart
78
+ API_AVAILABLE(macos(10.5), ios(3.2), tvos(9.0)) API_UNAVAILABLE(watchos);
79
+ CA_EXTERN CATextLayerTruncationMode const kCATruncationEnd
80
+ API_AVAILABLE(macos(10.5), ios(3.2), tvos(9.0)) API_UNAVAILABLE(watchos);
81
+ CA_EXTERN CATextLayerTruncationMode const kCATruncationMiddle
82
+ API_AVAILABLE(macos(10.5), ios(3.2), tvos(9.0)) API_UNAVAILABLE(watchos);
83
+
84
+ /* Alignment modes. */
85
+
86
+ CA_EXTERN CATextLayerAlignmentMode const kCAAlignmentNatural
87
+ API_AVAILABLE(macos(10.5), ios(3.2), tvos(9.0)) API_UNAVAILABLE(watchos);
88
+ CA_EXTERN CATextLayerAlignmentMode const kCAAlignmentLeft
89
+ API_AVAILABLE(macos(10.5), ios(3.2), tvos(9.0)) API_UNAVAILABLE(watchos);
90
+ CA_EXTERN CATextLayerAlignmentMode const kCAAlignmentRight
91
+ API_AVAILABLE(macos(10.5), ios(3.2), tvos(9.0)) API_UNAVAILABLE(watchos);
92
+ CA_EXTERN CATextLayerAlignmentMode const kCAAlignmentCenter
93
+ API_AVAILABLE(macos(10.5), ios(3.2), tvos(9.0)) API_UNAVAILABLE(watchos);
94
+ CA_EXTERN CATextLayerAlignmentMode const kCAAlignmentJustified
95
+ API_AVAILABLE(macos(10.5), ios(3.2), tvos(9.0)) API_UNAVAILABLE(watchos);
96
+
97
+ NS_HEADER_AUDIT_END(nullability, sendability)
98
+
99
+ #endif
@@ -0,0 +1,67 @@
1
+ /* CoreAnimation - CATiledLayer.h
2
+
3
+ Copyright (c) 2006-2026, Apple Inc.
4
+ All rights reserved. */
5
+
6
+ /* This is a subclass of CALayer providing a way to asynchronously
7
+ * provide tiles of the layer's content, potentially cached at multiple
8
+ * levels of detail.
9
+ *
10
+ * As more data is required by the renderer, the layer's
11
+ * -drawInContext: method is called on one or more background threads
12
+ * to supply the drawing operations to fill in one tile of data. The
13
+ * clip bounds and CTM of the drawing context can be used to determine
14
+ * the bounds and resolution of the tile being requested.
15
+ *
16
+ * Regions of the layer may be invalidated using the usual
17
+ * -setNeedsDisplayInRect: method. However update will be asynchronous,
18
+ * i.e. the next display update will most likely not contain the
19
+ * changes, but a future update will.
20
+ *
21
+ * Note: do not attempt to directly modify the `contents' property of
22
+ * an CATiledLayer object - doing so will effectively turn it into a
23
+ * regular CALayer. */
24
+
25
+ #ifdef __OBJC__
26
+
27
+ #import <QuartzCore/CALayer.h>
28
+
29
+ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
30
+
31
+ API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
32
+ @interface CATiledLayer : CALayer
33
+
34
+ /* The time in seconds that newly added images take to "fade-in" to the
35
+ * rendered representation of the tiled layer. The default implementation
36
+ * returns 0.25 seconds. */
37
+
38
+ + (CFTimeInterval)fadeDuration;
39
+
40
+ /* The number of levels of detail maintained by this layer. Defaults to
41
+ * one. Each LOD is half the resolution of the previous level. If too
42
+ * many levels are specified for the current size of the layer, then
43
+ * the number of levels is clamped to the maximum value (the bottom
44
+ * most LOD must contain at least a single pixel in each dimension). */
45
+
46
+ @property size_t levelsOfDetail;
47
+
48
+ /* The number of magnified levels of detail for this layer. Defaults to
49
+ * zero. Each previous level of detail is twice the resolution of the
50
+ * later. E.g. specifying 'levelsOfDetailBias' of two means that the
51
+ * layer devotes two of its specified levels of detail to
52
+ * magnification, i.e. 2x and 4x. */
53
+
54
+ @property size_t levelsOfDetailBias;
55
+
56
+ /* The maximum size of each tile used to create the layer's content.
57
+ * Defaults to (256, 256). Note that there is a maximum tile size, and
58
+ * requests for tiles larger than that limit will cause a suitable
59
+ * value to be substituted. */
60
+
61
+ @property CGSize tileSize;
62
+
63
+ @end
64
+
65
+ NS_HEADER_AUDIT_END(nullability, sendability)
66
+
67
+ #endif