peachsim 0.1.1728 → 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.
- package/README.md +4 -0
- package/cli/app-catalog.ts +47 -23
- package/cli/app-fonts.ts +19 -1
- package/cli/command-registry.ts +3 -0
- package/cli/commands/control.ts +68 -16
- package/cli/commands/coverage-swift.ts +112 -4
- package/cli/commands/device.ts +3 -1
- package/cli/commands/doctor.ts +1 -4
- package/cli/commands/inspect/settling.ts +6 -1
- package/cli/commands/inspect/wait-ready.ts +22 -2
- package/cli/commands/package.ts +33 -21
- package/cli/commands/push.ts +56 -0
- package/cli/commands/serve.ts +9 -0
- package/cli/commands/shell-url.ts +41 -9
- package/cli/commands/swift.ts +1 -1
- package/cli/current-sim.ts +27 -0
- package/cli/drivers/linux-browser-libs.lock.json +323 -1
- package/cli/drivers/linux-browser-libs.ts +8 -6
- package/cli/drivers/playwright.ts +5 -1
- package/cli/internal-child.ts +11 -1
- package/cli/main.ts +6 -0
- package/cli/native-input.ts +1 -7
- package/cli/outbound-endpoints.ts +9 -1
- package/cli/packaged-app-launcher.ts +3 -1
- package/cli/scene-video.ts +28 -7
- package/cli/ws-bridge.ts +3 -1
- package/detox/index.ts +18 -5
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +5 -2
- package/dist-lib/auth/shared-session.cjs +5 -2
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +9932 -4561
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +30 -8
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +6886 -3303
- package/dist-lib/expo-swift-metadata.cjs +14 -2
- package/dist-lib/expo-swift-metadata.mjs +14 -2
- package/dist-lib/home-paths.cjs +7 -2
- package/dist-lib/host/bridge-host.cjs +8513 -3085
- package/dist-lib/host/fetch-proxy-handler.cjs +19 -7
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +6 -3
- package/dist-lib/index.cjs +175 -80
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +209 -32
- package/dist-lib/menu.cjs +7 -1
- package/dist-lib/menu.mjs +7 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +146 -76
- package/dist-lib/native-app-identity-project.cjs +76 -39
- package/dist-lib/native-app-identity-project.mjs +76 -39
- package/dist-lib/native-app-identity.cjs +10 -3
- package/dist-lib/native-app-identity.mjs +10 -3
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +5 -2
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +25 -23
- package/dist-lib/public-origins-lib.json +138 -80
- package/dist-lib/react-native-host-modules.cjs +5 -2
- package/dist-lib/react-native-host-modules.mjs +5 -2
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +4 -1
- package/dist-lib/sdk.mjs +4 -1
- package/dist-lib/skills.cjs +41126 -36493
- package/dist-lib/swift-compile.cjs +2103 -444
- package/dist-lib/swift-compile.mjs +2025 -369
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +84 -24
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +6094 -2687
- package/dist-lib/vite.cjs +32 -10
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-compat/src/stubs/screen-transition-math.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/cli-companion.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/canvaskit-renderer.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +7 -4
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +1 -3
- package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +0 -5
- package/dist-types/packages/peach-engine/src/engine/memory-counts.d.ts +8 -0
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +10 -1
- package/dist-types/packages/peach-engine/src/engine/paint-boundary.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/render-damage.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +25 -3
- package/dist-types/packages/peach-engine/src/engine/scroll-platform.d.ts +1 -15
- package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +1 -3
- package/dist-types/packages/peach-engine/src/engine/text-first-baseline.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/engine/text-paragraph.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +23 -0
- package/dist-types/packages/peach-engine/src/ios/chrome-metrics.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/metro-identity-contract.d.ts +33 -0
- package/dist-types/packages/peach-engine/src/native-preview-bundle.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/preview/bundle-layout.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/remote-stream/scene-recording.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/metro-bundle-metadata.d.ts +28 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +21 -1
- package/dist-types/packages/peach-engine/src/render-worker/prepared-boot-bundle.d.ts +7 -0
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +15 -2
- package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/render-worker/test-bridge-protocol.d.ts +3 -3
- package/dist-types/packages/peach-engine/src/render-worker/webgpu-frame-transaction.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/webgpu-readback-scheduler.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +14 -1
- package/dist-types/packages/peach-engine/src/rolldown-bundle-inventory.d.ts +8 -1
- package/dist-types/packages/peach-engine/src/rolldown-production-fingerprint.d.ts +1 -4
- package/dist-types/packages/peach-engine/src/rolldown-production-module.d.ts +12 -0
- package/dist-types/packages/peach-engine/src/rolldown-production-roles.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/settings/devices.d.ts +6 -1
- package/dist-types/packages/peach-engine/src/settings/duo-fold-bus.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/shell-events.d.ts +4 -0
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +8 -0
- package/kotlin/README.md +3 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +2 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccount.h +55 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountCredential.h +35 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountStore.h +94 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountType.h +53 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACError.h +37 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/Accounts.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/AccountsDefines.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h +1 -0
- package/sdk/ios/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h +257 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h +305 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +2 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h +204 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h +260 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h +164 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h +101 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h +510 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h +1132 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGConvertColorDataWithFormat.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h +83 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h +197 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEXRToneMappingGamma.h +36 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h +38 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h +312 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h +106 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h +123 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGITUToneMapping.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h +409 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h +78 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h +120 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h +55 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h +535 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h +133 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h +252 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFMarkedContentItem.h +37 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h +67 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h +51 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h +101 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h +123 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h +44 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h +52 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStructureElement.h +87 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h +441 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h +89 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGRenderingBufferProvider.h +49 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h +124 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGToneMapping.h +85 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h +44 -252
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Modules/module.modulemap +1 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/CFNetworkErrors.h +257 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes +58 -9
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +992 -98
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/NSURLSession+Network.h +32 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/Network.h +51 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/advertise_descriptor.h +193 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/browse_descriptor.h +163 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/browse_result.h +207 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/browser.h +285 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/connection.h +714 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/connection_group.h +629 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/connection_report.h +932 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/content_context.h +229 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/endpoint.h +390 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/error.h +135 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/ethernet_channel.h +349 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/framer_options.h +1187 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/group_descriptor.h +184 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/interface.h +150 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/ip_options.h +351 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/listener.h +438 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/nw_object.h +200 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/parameters.h +1205 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/path.h +392 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/path_monitor.h +216 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/privacy_context.h +188 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/protocol_options.h +126 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/proxy_config.h +357 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/quic_options.h +889 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/resolver_config.h +94 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/tcp_options.h +459 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/tls_options.h +115 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/txt_record.h +432 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/udp_options.h +112 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/ws_options.h +743 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Modules/module.modulemap +9 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h +395 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h +132 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h +107 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h +153 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h +151 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAFrameRateRange.h +40 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h +78 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h +1078 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h +97 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h +67 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h +65 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h +64 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h +135 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h +99 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h +67 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h +124 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h +138 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h +40 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h +78 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h +19 -38
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h +1757 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h +19 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h +28 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h +114 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h +16 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h +47 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h +20 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h +13 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h +16 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h +84 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h +119 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h +66 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h +45 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h +161 -37
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h +76 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h +8 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h +78 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h +29 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h +104 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h +19 -0
- package/sdk/ios/usr/include/dns_sd.h +3616 -0
- package/sdk/ios/usr/include/dnssd.modulemap +4 -0
- package/sdk/ios/usr/include/module.modulemap +1 -0
- package/sdk/ios/usr/include/os/signpost.h +414 -0
- package/sdk/ios/usr/include/os.modulemap +5 -0
- package/sdk/ios/usr/include/sys/socketvar.h +191 -0
- package/sdk/ios/usr/include/sys/vsock.h +84 -0
- package/sdk/ios/wasm/include/errno.h +4 -20
- package/sdk/ios/wasm/include/pthread.h +3 -0
- package/sdk/ios/wasm/include/setjmp.h +57 -0
- package/sdk/ios/wasm/include/sys/resource.h +2 -2
- package/sdk/native-hashes.json +3 -3
- package/skills/contrast/SKILL.md +6 -5
- package/skills/peach-debug/SKILL.md +68 -265
- package/skills/peach-debug/references/accessibility.md +37 -73
- package/skills/peach-debug/references/commands.md +2 -2
- package/skills/peach-debug/references/events.md +74 -0
- package/skills/peach-perf/SKILL.md +64 -402
- package/skills/peach-perf/references/presentation.md +46 -0
- package/skills/peach-perf/references/profiling.md +93 -0
- package/skills/peach-perf/references/render-counters.md +57 -0
- package/skills/peach-setup/SKILL.md +66 -217
- package/skills/peach-setup/references/native-config.md +35 -0
- package/skills/peach-setup/references/reporting.md +28 -0
- package/skills/peach-test/SKILL.md +68 -285
- package/skills/peach-test/references/detox.md +69 -0
- package/skills/peach-test/references/maestro.md +95 -0
- package/skills/peach-visual/SKILL.md +53 -106
- package/src/android-autolinking.ts +1 -0
- package/src/android-bridge-packages.ts +279 -0
- package/src/appPackageContract.ts +14 -1
- package/src/assetCatalogContract.ts +8 -1
- package/src/bridge-contract.ts +6 -0
- package/src/bundle-channel.mjs +152 -60
- package/src/cli-runtime.ts +3 -0
- package/src/configured-bundle-producer.ts +10 -0
- package/src/device-catalog.ts +68 -4
- package/src/expo-discovery-cache.ts +10 -3
- package/src/expo-kotlin-host.ts +97 -26
- package/src/expo-native-workspace.ts +211 -52
- package/src/expo-swift-host.ts +149 -123
- package/src/expo-swift-ready.ts +5 -1
- package/src/expo-widget-assets.ts +76 -0
- package/src/expoKotlinContract.ts +12 -2
- package/src/expoSwiftContract.ts +21 -2
- package/src/generated/swift-c-predefines.json +1 -1
- package/src/home-paths.ts +6 -1
- package/src/host/bridge-host.ts +5 -0
- package/src/host/fetch-proxy-handler.ts +10 -0
- package/src/host/websocket-proxy.ts +7 -2
- package/src/kotlin-host.ts +204 -30
- package/src/kotlinSdkContract.ts +2 -1
- package/src/menu.ts +7 -0
- package/src/native-prebuilt.ts +154 -0
- package/src/nitro-adapter.lock.json +261 -261
- package/src/nitro-adapter.ts +118 -50
- package/src/nitro-bundle.ts +134 -96
- package/src/nitro-compile.ts +16 -6
- package/src/nitro-dependencies.ts +43 -28
- package/src/nitro-source.ts +142 -30
- package/src/nitro-superset.lock.json +103 -0
- package/src/nitro-superset.ts +137 -0
- package/src/nitroAdapterContract.ts +146 -98
- package/src/nitroContract.ts +68 -21
- package/src/react-bridge-importers.ts +1 -0
- package/src/react-native-bridge-modules.ts +2 -0
- package/src/react-native-host-modules.ts +4 -1
- package/src/settingsContract.ts +37 -1
- package/src/storageSnapshotContract.ts +29 -81
- package/src/swift-compile.ts +315 -117
- package/src/swift-compiler-digest.ts +2 -0
- package/src/swift-coverage/indexdump.ts +22 -6
- package/src/swift-coverage/indexing.ts +4 -4
- package/src/swift-coverage/sdk.ts +104 -20
- package/src/swift-coverage/types.ts +34 -0
- package/src/swift-coverage/xcode-packages.ts +61 -1
- package/src/swift-coverage/xcode.ts +19 -13
- package/src/swift-cxx-reachable.ts +1 -1
- package/src/swift-distribution.lock.json +18 -13
- package/src/swift-distribution.ts +57 -26
- package/src/swift-host.ts +51 -35
- package/src/swift-link-roots.ts +45 -18
- package/src/swift-objc-compile.ts +78 -2
- package/src/swift-objc-standin.ts +3 -0
- package/src/swift-shared-sdk.ts +85 -1
- package/src/swift-standin-emit.ts +6 -1
- package/src/swift-standins.ts +403 -19
- package/src/swift-submit.ts +17 -1
- package/src/swift-toolchain.ts +98 -23
- package/src/swift-wasm-prune.ts +1629 -0
- package/src/turbo-bundle.ts +82 -0
- package/src/turbo-compile.ts +120 -0
- package/src/turbo-runtime.lock.json +69 -0
- package/src/turbo-source.ts +754 -0
- package/src/vite-plugin-one.ts +15 -3
- package/src/vite-plugin.ts +82 -23
- package/src/wasm-optimize.ts +34 -0
- package/src/worker-system-chunks.ts +3 -3
- package/src/xcode-project.ts +52 -0
- 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
|
package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h
ADDED
|
@@ -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
|