peachsim 0.1.1744 → 0.1.1801
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 +28 -28
- package/cli/account-gate.ts +97 -0
- package/cli/app-catalog.ts +24 -0
- package/cli/app-stubs.ts +7 -0
- package/cli/auth.ts +48 -18
- package/cli/bin.ts +35 -2
- package/cli/bridge-flow-runner.ts +174 -6
- package/cli/cloud-dispatch.ts +0 -3
- package/cli/command-registry.ts +2 -6
- package/cli/commands/auth.ts +68 -3
- package/cli/commands/compat.ts +1116 -0
- package/cli/commands/control.ts +90 -13
- package/cli/commands/coverage.ts +85 -116
- package/cli/commands/detox.ts +20 -20
- package/cli/commands/device.ts +31 -27
- package/cli/commands/doctor.ts +76 -1032
- package/cli/commands/flow.ts +80 -41
- package/cli/commands/guest-host.ts +2 -2
- package/cli/commands/inspect/core.ts +8 -7
- package/cli/commands/inspect/settling.ts +60 -25
- package/cli/commands/inspect/wait-ready.ts +6 -4
- package/cli/commands/inspect/wait-selector.ts +32 -18
- package/cli/commands/inspect.ts +8 -6
- package/cli/commands/kotlin.ts +15 -6
- package/cli/commands/logout.ts +4 -2
- package/cli/commands/maestro-compare.ts +19 -37
- package/cli/commands/maestro-generate.ts +4 -4
- package/cli/commands/maestro.ts +56 -37
- package/cli/commands/package.ts +136 -57
- package/cli/commands/preview.ts +10 -1
- package/cli/commands/{film.ts → record-three.ts} +33 -28
- package/cli/commands/record.ts +41 -39
- package/cli/commands/screenshots.ts +4 -0
- package/cli/commands/setup.ts +38 -1
- package/cli/commands/shell-url.ts +49 -24
- package/cli/commands/swift.ts +29 -11
- package/cli/commands/test.ts +43 -13
- package/cli/commands/upload.ts +12 -9
- package/cli/drivers/playwright-core-pin.ts +2 -2
- package/cli/flow-export.ts +1 -1
- package/cli/flow-file.ts +1 -1
- package/cli/internal-child.ts +3 -8
- package/cli/maestro-compare.ts +73 -7
- package/cli/maestro-js.ts +1 -1
- package/cli/maestro-report.ts +1 -1
- package/cli/maestro-workspace.ts +66 -4
- package/cli/main.ts +22 -55
- package/cli/native-input.ts +13 -20
- package/cli/outbound-endpoints.ts +40 -7
- package/cli/output-redaction.ts +8 -3
- package/cli/packaged-app-launcher.ts +40 -28
- package/cli/prompt.ts +20 -0
- package/cli/recording-access.ts +7 -7
- package/cli/run-registry.ts +1 -1
- package/cli/scene-video.ts +0 -4
- package/cli/ws-bridge.ts +7 -4
- package/detox/index.ts +293 -50
- package/detox/jest-preset.cjs +6 -0
- package/detox/launch-permissions.ts +1 -21
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- 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 +2 -8
- package/dist-lib/bridge-contract.mjs +2 -7
- package/dist-lib/bundle-channel.cjs +45273 -38265
- package/dist-lib/capture-contract.cjs +37 -14
- package/dist-lib/capture-contract.mjs +36 -13
- 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 +2 -2
- package/dist-lib/cloud.mjs +2 -2
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +562 -126
- package/dist-lib/detox/jest-preset.cjs +6 -0
- package/dist-lib/dev-bundle-resolution.cjs +18 -13
- package/dist-lib/expo-swift-bundle.cjs +28566 -23874
- package/dist-lib/expo-swift-metadata.cjs +104 -2
- package/dist-lib/expo-swift-metadata.mjs +104 -2
- package/dist-lib/home-paths.cjs +8 -5
- package/dist-lib/host/bridge-host.cjs +36618 -29846
- package/dist-lib/host/fetch-proxy-handler.cjs +23 -20
- 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 +5 -2
- package/dist-lib/index.cjs +1921 -1549
- 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 +1 -1
- package/dist-lib/menu.cjs +21 -7
- package/dist-lib/menu.mjs +21 -7
- 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 +1877 -1584
- package/dist-lib/native-app-identity-project.cjs +1274 -951
- package/dist-lib/native-app-identity-project.mjs +1414 -963
- package/dist-lib/native-app-identity.cjs +64 -58
- package/dist-lib/native-app-identity.mjs +64 -58
- 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 +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +79 -33
- package/dist-lib/public-origins-lib-static.json +1 -1
- package/dist-lib/public-origins-lib.json +484 -280
- package/dist-lib/react-native-host-modules.cjs +3 -1
- package/dist-lib/react-native-host-modules.mjs +3 -1
- package/dist-lib/reap-browser.cjs +23 -26
- package/dist-lib/scripts/dev-server-scanner.cjs +13 -10
- package/dist-lib/sdk.cjs +69 -36
- package/dist-lib/sdk.mjs +69 -36
- package/dist-lib/skills.cjs +33781 -27141
- package/dist-lib/swift-compile.cjs +3759 -2520
- package/dist-lib/swift-compile.mjs +3680 -2441
- package/dist-lib/swift-package.cjs +33 -1
- package/dist-lib/swift-package.mjs +31 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +102 -5
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +16480 -14579
- package/dist-lib/vite.cjs +269 -295
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-compat/src/secure-item-store.d.ts +38 -0
- package/dist-types/packages/peach-compat/src/stubs/ring-mode-state.d.ts +4 -0
- package/dist-types/packages/peach-compat/src/stubs/screen-transition-math.d.ts +21 -12
- package/dist-types/packages/peach-engine/src/billing/plans.d.ts +1 -2
- package/dist-types/packages/peach-engine/src/capture/browser-composite-provider.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/capture/browser-composite.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/animated-driven-style.d.ts +10 -10
- package/dist-types/packages/peach-engine/src/engine/animated.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/animation-graph.d.ts +6 -2
- package/dist-types/packages/peach-engine/src/engine/canvaskit-api.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/canvaskit-renderer.d.ts +3 -2
- package/dist-types/packages/peach-engine/src/engine/fiber-debug-metadata.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/lottie-runtime.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/engine/native-animation-driver.d.ts +18 -1
- package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/nativeReplayContract.d.ts +71 -0
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +31 -3
- package/dist-types/packages/peach-engine/src/engine/paint-boundary-types.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/engine/paint-boundary.d.ts +7 -2
- package/dist-types/packages/peach-engine/src/engine/portals.d.ts +2 -4
- package/dist-types/packages/peach-engine/src/engine/render-damage.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +7 -1
- package/dist-types/packages/peach-engine/src/engine/scroll-momentum-math.d.ts +3 -3
- package/dist-types/packages/peach-engine/src/engine/scroll-velocity.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +10 -0
- package/dist-types/packages/peach-engine/src/engine/secureItemHostContract.d.ts +30 -0
- package/dist-types/packages/peach-engine/src/engine/shell-owned-values.d.ts +55 -0
- package/dist-types/packages/peach-engine/src/engine/text-first-baseline.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +85 -26
- package/dist-types/packages/peach-engine/src/graphite-stats-fields.d.ts +28 -0
- package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/ios/aux-home-scene.d.ts +3 -4
- package/dist-types/packages/peach-engine/src/ios/aux-shell-animated-sources.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/ios/home-app-catalog.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/ios/photo-store.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/ios/photoLibraryContract.d.ts +15 -0
- package/dist-types/packages/peach-engine/src/ios/shell-controller-types.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/metro-asset-path.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/react-native/platform-colors.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/render-worker/canvaskit-webgpu.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/canvaskit-worker-init.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +31 -12
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/scroll-drag-presentation.d.ts +23 -0
- package/dist-types/packages/peach-engine/src/render-worker/expo-widgetContract.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/render-worker/expo-widgets-activityContract.d.ts +15 -0
- package/dist-types/packages/peach-engine/src/render-worker/graph-linked-value.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/render-worker/host-service-protocol.d.ts +12 -2
- package/dist-types/packages/peach-engine/src/render-worker/image-pixel-contract.d.ts +12 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +30 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-widgetContract.d.ts +4 -1
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +15 -9
- package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror-tenant.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +24 -0
- package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +8 -4
- package/dist-types/packages/peach-engine/src/render-worker/shell-scene-schema.d.ts +4 -0
- package/dist-types/packages/peach-engine/src/render-worker/shell-tree-wire.d.ts +3 -2
- package/dist-types/packages/peach-engine/src/render-worker/text-inputContract.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/tree-sync-port.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/worker-input-runtime.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +10 -1
- package/dist-types/packages/peach-engine/src/render-worker/worklet-sab.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/rolldown-production-module.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/settings/devices.d.ts +4 -0
- package/dist-types/packages/peach-globals/src/eventBridgeContract.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +7 -0
- package/dist-types/packages/peach-globals/src/nodeContract.d.ts +3 -1
- package/dist-types/packages/peach-globals/src/recordingBridgeContract.d.ts +5 -1
- package/dist-types/packages/peach-globals/src/shellBridgeContract.d.ts +2 -0
- package/dist-types/packages/peach-globals/src/testBridgeContract.d.ts +3 -1
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +23 -1
- package/dist-types/packages/peach-kit/src/internal.d.ts +2 -1
- package/dist-types/packages/peach-kit/src/ui/hosting-safe-area.d.ts +2 -0
- package/dist-types/packages/peach-kit/src/ui/keyboard-toolbar.d.ts +5 -0
- package/install.sh +20 -1
- package/package.json +6 -5
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h +629 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionDeprecated.h +90 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h +256 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h +1006 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVFAudio.apinotes +246 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVFAudio.h +5 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAnimation.h +52 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioSession.h +11 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVBase.h +264 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h +88 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h +1360 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h +167 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h +13 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaFormat.h +508 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataItem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItem.h +31 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferDisplayLayer.h +18 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureDeviceDirectionCoordinator.h +113 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEvent.h +82 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventInteraction.h +114 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventSound.h +50 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVError.h +51 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVInputPickerInteraction.h +93 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVInterstitialTimeRange.h +39 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVKit.apinotes +112 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h +110 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h +79 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVKitTypes.h +54 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVLegibleMediaOptionsMenuController.h +193 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController.h +271 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController_AVSampleBufferDisplayLayerSupport.h +135 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController_VideoCallSupport.h +66 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackRouteSelecting.h +46 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackSpeed.h +71 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackUserInterfaceControllable.h +551 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerItem+AVKitAdditions.h +42 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h +704 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVRoutePickerView.h +186 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccount.h +1 -1
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountCredential.h +1 -1
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountStore.h +1 -1
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountType.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreAudioTypes.framework/Headers/AudioSessionTypes.h +104 -0
- package/sdk/ios/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioBaseTypes.h +1621 -0
- package/sdk/ios/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.apinotes +42 -0
- package/sdk/ios/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.h +9 -0
- package/sdk/ios/System/Library/Frameworks/CoreAudioTypes.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBAttribute.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCentralManager.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBDescriptor.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBManager.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeripheral.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBService.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectModel.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreCoordinator.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreRequest.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h +195 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h +220 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h +501 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +3 -18
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityConstraint.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h +2 -2
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h +2 -2
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLHeading.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager+CLVisitExtensions.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h +2 -2
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMBase.h +443 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h +8 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMSync.h +996 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMTime.h +9 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.h +3 -0
- package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCNDEFMessage.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCNDEFPayload.h +2 -2
- package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCNDEFReaderSession.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCReaderSession.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularData.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTTelephonyNetworkInfo.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h +1811 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h +360 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h +574 -17
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h +109 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h +336 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h +203 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h +264 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h +531 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h +496 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h +326 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h +547 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h +213 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h +496 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h +158 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h +286 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h +80 -1
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h +1833 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h +482 -0
- package/sdk/ios/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DDDevicePickerViewController.h +41 -0
- package/sdk/ios/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DeviceDiscoveryUI.h +9 -0
- package/sdk/ios/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DeviceDiscoveryUIDefines.h +14 -0
- package/sdk/ios/System/Library/Frameworks/DeviceDiscoveryUI.framework/Modules/DeviceDiscoveryUI.swiftcrossimport/SwiftUI.swiftoverlay +4 -0
- package/sdk/ios/System/Library/Frameworks/DeviceDiscoveryUI.framework/Modules/module.modulemap +9 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes +1 -1
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +49 -1
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h +2 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h +15 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h +30 -0
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKAchievement.h +3 -3
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKBasePlayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKChallenge.h +6 -6
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h +4 -4
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKLocalPlayer.h +6 -6
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmaker.h +2 -2
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKNotificationBanner.h +1 -1
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKPlayer.h +3 -3
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKSavedGame.h +2 -2
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKTurnBasedMatch.h +4 -4
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKTurnBasedMatchmakerViewController.h +3 -3
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKActivitySummary.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKActivitySummaryQuery.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKCategorySample.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalType.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthStore.h +6 -6
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKObject.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKObjectType.h +5 -5
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKObserverQuery.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantity.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantitySample.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQuery.h +14 -14
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKSample.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKSampleQuery.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKStatistics.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKStatisticsQuery.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKUnit.h +20 -20
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h +1 -1
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h +2 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h +2 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h +2 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h +2 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h +2 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h +6 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSBase.h +195 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSContext.h +245 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSContextRef.h +178 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSExport.h +151 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSManagedValue.h +81 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSObjectRef.h +755 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSStringRef.h +148 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSStringRefCF.h +60 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSTypedArray.h +180 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSValue.h +824 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSValueRef.h +555 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSVirtualMachine.h +92 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JavaScript.h +37 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JavaScriptCore.h +38 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/WebKitAvailability.h +36 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Modules/module.modulemap +8 -0
- package/sdk/ios/System/Library/Frameworks/MobileCoreServices.framework/Headers/UTType.h +19 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MCAdvertiserAssistant.h +76 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MCBrowserViewController.h +88 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MCError.h +34 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MCNearbyServiceAdvertiser.h +84 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MCNearbyServiceBrowser.h +94 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MCPeerID.h +37 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MCSession.h +215 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MultipeerConnectivity.apinotes +5 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MultipeerConnectivity.h +15 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Modules/module.modulemap +7 -0
- package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEHotspotHelper.h +1 -1
- package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEHotspotNetwork.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/ModelIO.h +6 -6
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNAction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNAudioSource.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNCamera.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNConstraint.h +2 -2
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNGeometry.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNHitTest.h +2 -2
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNLight.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNMaterial.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNMaterialProperty.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNNode.h +4 -4
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNParametricGeometry.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNParticleSystem.h +2 -2
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNScene.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNTransaction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SceneKitDeprecated.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h +14 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h +172 -27
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSText.h +59 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h +13 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextList.h +63 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h +10 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSToolbar+UIKitAdditions.h +142 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h +20 -20
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h +103 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h +6 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h +131 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h +8 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h +80 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h +191 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h +259 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h +9 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h +5 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h +6 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h +37 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes +4248 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h +66 -102
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h +55 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h +62 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h +283 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuDisplayPreferences.h +27 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h +86 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuLeaf.h +68 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h +1 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIView.h +3 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap +2 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIKitText.apinotes +135 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Modules/module.modulemap +8 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTAdditions.h +167 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTCoreTypes.h +1332 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes +53 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.h +18 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h +19 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h +29 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h +27 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h +69 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationActionIcon.h +23 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h +44 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttributedMessageContext.h +24 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h +82 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h +152 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h +34 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h +41 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h +27 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h +90 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h +45 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h +64 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h +107 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes +17 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h +23 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Headers/WCDefines.h +14 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Headers/WCError.h +38 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Headers/WCSession.h +200 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Headers/WCSessionFile.h +30 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Headers/WCSessionUserInfoTransfer.h +22 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Headers/WatchConnectivity.apinotes +19 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Headers/WatchConnectivity.h +15 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/NSAttributedString.h +120 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKBackForwardList.h +77 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKBackForwardListItem.h +54 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentRuleList.h +37 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentRuleListStore.h +47 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentWorld.h +87 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentWorldConfiguration.h +71 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContextMenuElementInfo.h +47 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKDOMNodeSnapshot.h +57 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKDataDetectorTypes.h +60 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKDownload.h +67 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKDownloadDelegate.h +146 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKError.h +71 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFindConfiguration.h +52 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFindResult.h +41 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFormInfo.h +63 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFoundation.h +72 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFrameInfo.h +62 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKHTTPCookieStore.h +108 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKImmersiveEnvironment.h +50 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKImmersiveEnvironmentDelegate.h +69 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKJSHandle.h +80 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigation.h +45 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationAction.h +118 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationDelegate.h +219 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationResponse.h +60 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKOpenPanelParameters.h +47 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPDFConfiguration.h +49 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h +117 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPreviewActionItem.h +39 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPreviewActionItemIdentifiers.h +38 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPreviewElementInfo.h +43 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKProcessPool.h +39 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKScriptMessage.h +64 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKScriptMessageHandler.h +52 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKScriptMessageHandlerWithReply.h +95 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKSecurityOrigin.h +57 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKSnapshotConfiguration.h +59 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKUIDelegate.h +316 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKURLSchemeHandler.h +61 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKURLSchemeTask.h +75 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKUserContentController.h +162 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKUserScript.h +76 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtension.h +237 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionAction.h +164 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionCommand.h +106 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionContext.h +790 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionController.h +255 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionControllerConfiguration.h +89 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionControllerDelegate.h +207 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionDataRecord.h +90 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionDataType.h +43 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionMatchPattern.h +175 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionMessagePort.h +99 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionPermission.h +95 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionTab.h +396 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionTabConfiguration.h +94 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionWindow.h +170 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionWindowConfiguration.h +87 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h +800 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h +275 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h +150 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h +90 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h +137 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWindowFeatures.h +72 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes +204 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WebKit.h +93 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WebKitLegacy.h +3 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/WiFiAware.framework/Modules/WiFiAware.swiftmodule/arm64-apple-ios-simulator.swiftinterface +605 -0
- package/sdk/ios/System/Library/Frameworks/_DeviceDiscoveryUI_SwiftUI.framework/Modules/_DeviceDiscoveryUI_SwiftUI.swiftmodule/arm64-apple-ios-simulator.swiftinterface +79 -0
- package/sdk/ios/usr/include/MacTypes.h +8 -0
- package/sdk/ios/usr/include/objc/NSObjCRuntime.h +5 -0
- package/sdk/ios/wasm/include/fcntl.h +1 -0
- package/sdk/ios/wasm/include/pthread.h +2 -0
- package/sdk/ios/wasm/include/stdlib.h +1 -0
- package/sdk/native-hashes.json +11 -1
- package/skills/contrast/SKILL.md +4 -9
- package/skills/peach-perf/SKILL.md +3 -1
- package/skills/peach-perf/references/profiling.md +1 -1
- package/skills/peach-test/SKILL.md +20 -17
- package/skills/peach-test/references/detox.md +7 -7
- package/skills/peach-test/references/maestro.md +20 -18
- package/src/admitted-mac-build.ts +7 -0
- package/src/android-autolinking.ts +2 -2
- package/src/android-drawables.ts +5 -5
- package/src/android-string-value.ts +1 -1
- package/src/android-strings.ts +1 -1
- package/src/android-theme.ts +2 -2
- package/src/appPackageContract.ts +1 -1
- package/src/bridge-contract.ts +12 -16
- package/src/build-cache.ts +65 -0
- package/src/bundle-channel.mjs +69 -9
- package/src/capture-contract.ts +55 -17
- package/src/chromium-admission.ts +24 -21
- package/src/conformance-comparison-contract.ts +105 -40
- package/src/dev-bundle-resolution.ts +23 -10
- package/src/device-catalog.ts +35 -2
- package/src/disk-cleanup.ts +18 -8
- package/src/expo-autolinking.ts +24 -0
- package/src/expo-discovery-cache.ts +168 -23
- package/src/expo-native-workspace.ts +551 -191
- package/src/expo-swift-host.ts +711 -314
- package/src/expo-swift-ready.ts +39 -5
- package/src/expo-widget-assets.ts +2 -2
- package/src/expo-widgets-bundle.ts +56 -0
- package/src/expo-workspace-exclusion.ts +62 -0
- package/src/expoSwiftContract.ts +27 -4
- package/src/forked-script-contract.ts +3 -0
- package/src/home-paths.ts +10 -6
- package/src/host/bridge-host.ts +27 -0
- package/src/host/network-policy.ts +1 -1
- package/src/kotlin-app.ts +9 -11
- package/src/kotlin-host.ts +2 -2
- package/src/launchMetadataContract.ts +5 -0
- package/src/menu.ts +19 -5
- package/src/native-app-identity-project.ts +35 -49
- package/src/native-app-identity.ts +5 -6
- package/src/native-firebase-config.ts +10 -48
- package/src/native-prebuilt.ts +3 -2
- package/src/native-slices.ts +39 -0
- package/src/native-static-libraries.ts +73 -0
- package/src/nitro-adapter.lock.json +249 -249
- package/src/nitro-adapter.ts +16 -5
- package/src/nitro-bundle.ts +35 -16
- package/src/nitro-compile.ts +254 -16
- package/src/nitro-compiler-digest.ts +39 -0
- package/src/nitro-dependencies.ts +368 -28
- package/src/nitro-source.ts +432 -77
- package/src/nitro-superset.lock.json +27 -36
- package/src/nitro-superset.ts +6 -0
- package/src/nitroAdapterContract.ts +52 -0
- package/src/nitroContract.ts +40 -4
- package/src/numbered-lock.ts +2 -2
- package/src/one-native-app-accent.ts +32 -0
- package/src/one-widget-discovery.ts +6 -1
- package/src/one-widget-metadata.ts +2 -2
- package/src/portable-expo-contract.ts +103 -0
- package/src/portable-expo-workspace.ts +94 -0
- package/src/prepared-native-inventory.ts +93 -0
- package/src/prepared-xcode-phases.ts +194 -0
- package/src/process-group.ts +8 -15
- package/src/process-table.ts +117 -0
- package/src/react-native-bridge-modules.ts +240 -14
- package/src/react-native-coverage/native-typescript-parser.ts +11 -2
- package/src/react-native-coverage/verified-reach.ts +12 -6
- package/src/react-native-host-modules.ts +2 -0
- package/src/reap-browser.ts +13 -9
- package/src/retired-cache-directory.ts +34 -0
- package/src/runtime-assets.ts +1 -0
- package/src/screenshots/orchestrate.ts +4 -0
- package/src/screenshots/schema.ts +2 -2
- package/src/storageSnapshotContract.ts +9 -2
- package/src/stub-pattern-matcher.ts +53 -19
- package/src/swift-compile.ts +1011 -327
- package/src/swift-compiler-digest.ts +3 -0
- package/src/swift-coverage/indexing.ts +1 -1
- package/src/swift-coverage/xcode-asset-symbols.ts +72 -39
- package/src/swift-coverage/xcode-assets.ts +2 -1
- package/src/swift-cxx-declarations.ts +114 -130
- package/src/swift-cxx-standin.ts +3 -3
- package/src/swift-darwin-records.ts +88 -0
- package/src/swift-distribution.lock.json +15 -12
- package/src/swift-distribution.ts +25 -9
- package/src/swift-host.ts +443 -142
- package/src/swift-icu.ts +72 -4
- package/src/swift-link-roots.ts +2 -0
- package/src/swift-objc-compile.ts +312 -65
- package/src/swift-objc-import.ts +8 -1
- package/src/swift-objc-standin.ts +20 -2
- package/src/swift-package-manifest.ts +189 -57
- package/src/swift-package.ts +51 -0
- package/src/swift-packages.ts +117 -45
- package/src/swift-pdf-raster.ts +7 -4
- package/src/swift-project-user.ts +183 -0
- package/src/swift-reproducible.ts +26 -0
- package/src/swift-root-lock.ts +34 -62
- package/src/swift-shared-sdk.ts +232 -21
- package/src/swift-source-pods.ts +9 -2
- package/src/swift-standin-emit.ts +248 -7
- package/src/swift-standins.ts +130 -108
- package/src/swift-submit.ts +3 -0
- package/src/swift-toolchain.ts +109 -8
- package/src/swift-wasm-prune.ts +210 -55
- package/src/swiftContract.ts +14 -0
- package/src/swiftGuestImageContract.ts +113 -0
- package/src/turbo-bundle.ts +5 -8
- package/src/turbo-codegen-intake.ts +134 -0
- package/src/turbo-compile.ts +198 -21
- package/src/turbo-native-libraries.ts +98 -0
- package/src/turbo-runtime.lock.json +25 -18
- package/src/turbo-source.ts +1519 -147
- package/src/vite-plugin-one.ts +25 -3
- package/src/vite-plugin-swift.ts +5 -1
- package/src/vite-plugin.ts +40 -18
- package/src/worker-system-chunks.ts +103 -15
- package/src/worklets-babel.ts +50 -29
- package/src/xcode-header-search.ts +15 -5
- package/src/xcode-project.ts +444 -88
- package/src/xcode-target-members.ts +72 -63
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/scroll-drag-resample.d.ts +0 -44
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* CTFontManagerErrors.h
|
|
3
|
+
* CoreText
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2008-2019 Apple Inc. All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
#ifndef __CTFONTMANAGERERRORS__
|
|
10
|
+
#define __CTFONTMANAGERERRORS__
|
|
11
|
+
|
|
12
|
+
#include <CoreText/CTDefines.h>
|
|
13
|
+
|
|
14
|
+
#include <CoreFoundation/CoreFoundation.h>
|
|
15
|
+
|
|
16
|
+
CF_EXTERN_C_BEGIN
|
|
17
|
+
CF_ASSUME_NONNULL_BEGIN
|
|
18
|
+
|
|
19
|
+
/*!
|
|
20
|
+
@const kCTFontManagerErrorDomain
|
|
21
|
+
@abstract CFError domain for CTFontManager errors
|
|
22
|
+
@discussion CFErrors with this domain will have error codes corresponding to one of the CTFontManagerErrors above.
|
|
23
|
+
*/
|
|
24
|
+
CT_EXPORT const CFStringRef kCTFontManagerErrorDomain CT_AVAILABLE(macos(10.6), ios(3.2), watchos(2.0), tvos(9.0));
|
|
25
|
+
|
|
26
|
+
/*!
|
|
27
|
+
@constant kCTFontManagerErrorFontURLsKey
|
|
28
|
+
@abstract User info key to be used with CFError references returned from registration functions.
|
|
29
|
+
@discussion The value associated with this key in the user info dictionary of a CFError is a CFArray of font URLs that failed with given error.
|
|
30
|
+
*/
|
|
31
|
+
CT_EXPORT const CFStringRef kCTFontManagerErrorFontURLsKey CT_AVAILABLE(macos(10.6), ios(3.2), watchos(2.0), tvos(9.0));
|
|
32
|
+
|
|
33
|
+
/*!
|
|
34
|
+
@constant kCTFontManagerErrorFontDescriptorsKey
|
|
35
|
+
@abstract User info key to be used with CFError references returned from registration functions.
|
|
36
|
+
@discussion The value associated with this key in the user info dictionary of a CFError is a CFArray of font descriptors that failed with given error.
|
|
37
|
+
*/
|
|
38
|
+
CT_EXPORT const CFStringRef kCTFontManagerErrorFontDescriptorsKey CT_AVAILABLE(ios(13.0)) API_UNAVAILABLE(macos, watchos, tvos);
|
|
39
|
+
|
|
40
|
+
/*!
|
|
41
|
+
@constant kCTFontManagerErrorFontAssetNameKey
|
|
42
|
+
@abstract User info key to be used with CFError references returned from registration functions.
|
|
43
|
+
@discussion The value associated with this key in the user info dictionary of a CFError is a CFArray of font asset name strings that failed with given error.
|
|
44
|
+
*/
|
|
45
|
+
CT_EXPORT const CFStringRef kCTFontManagerErrorFontAssetNameKey CT_AVAILABLE(ios(13.0)) API_UNAVAILABLE(macos, watchos, tvos);
|
|
46
|
+
|
|
47
|
+
/*!
|
|
48
|
+
@enum
|
|
49
|
+
@abstract Font registration errors
|
|
50
|
+
@discussion Errors that would prevent registration of fonts for a specified font file URL.
|
|
51
|
+
@constant kCTFontManagerErrorFileNotFound
|
|
52
|
+
The file does not exist at the specified URL.
|
|
53
|
+
@constant kCTFontManagerErrorInsufficientPermissions
|
|
54
|
+
Cannot access the file due to insufficient permissions.
|
|
55
|
+
@constant kCTFontManagerErrorUnrecognizedFormat
|
|
56
|
+
The file is not a recognized or supported font file format.
|
|
57
|
+
@constant kCTFontManagerErrorInvalidFontData
|
|
58
|
+
The file contains invalid font data that could cause system problems.
|
|
59
|
+
@constant kCTFontManagerErrorAlreadyRegistered
|
|
60
|
+
The file has already been registered in the specified scope.
|
|
61
|
+
@discussion Errors that would prevent un-registration of fonts for a specified font file URL.
|
|
62
|
+
@constant kCTFontManagerErrorNotRegistered
|
|
63
|
+
The file is not registered in the specified scope.
|
|
64
|
+
@constant kCTFontManagerErrorInUse
|
|
65
|
+
The font file is actively in use and cannot be unregistered.
|
|
66
|
+
@constant kCTFontManagerErrorSystemRequired
|
|
67
|
+
The file is required by the system and cannot be unregistered.
|
|
68
|
+
@constant kCTFontManagerErrorRegistrationFailed
|
|
69
|
+
The file could not be processed due to an unexpected FontProvider error.
|
|
70
|
+
@constant kCTFontManagerErrorMissingEntitlement
|
|
71
|
+
The file could not be processed because the provider does not have a necessary entitlement.
|
|
72
|
+
@constant kCTFontManagerErrorInsufficientInfo
|
|
73
|
+
The font descriptor does not have information to specify a font file.
|
|
74
|
+
@constant kCTFontManagerErrorCancelledByUser
|
|
75
|
+
The operation was cancelled by the user.
|
|
76
|
+
@constant kCTFontManagerErrorDuplicatedName
|
|
77
|
+
The file could not be registered because of a duplicated font name.
|
|
78
|
+
@constant kCTFontManagerErrorInvalidFilePath
|
|
79
|
+
The file is not in an allowed location. It must be either in the application's bundle or an on-demand resource.
|
|
80
|
+
@constant kCTFontManagerErrorExceededResourceLimit
|
|
81
|
+
The operation failed due to a system limitation.
|
|
82
|
+
@constant kCTFontManagerErrorUnsupportedScope
|
|
83
|
+
The specified scope is not supported.
|
|
84
|
+
|
|
85
|
+
*/
|
|
86
|
+
typedef CF_ENUM(CFIndex, CTFontManagerError) {
|
|
87
|
+
kCTFontManagerErrorFileNotFound = 101,
|
|
88
|
+
kCTFontManagerErrorInsufficientPermissions = 102,
|
|
89
|
+
kCTFontManagerErrorUnrecognizedFormat = 103,
|
|
90
|
+
kCTFontManagerErrorInvalidFontData = 104,
|
|
91
|
+
kCTFontManagerErrorAlreadyRegistered = 105,
|
|
92
|
+
kCTFontManagerErrorExceededResourceLimit = 106,
|
|
93
|
+
kCTFontManagerErrorAssetNotFound = 107,
|
|
94
|
+
kCTFontManagerErrorNotRegistered = 201,
|
|
95
|
+
kCTFontManagerErrorInUse = 202,
|
|
96
|
+
kCTFontManagerErrorSystemRequired = 203,
|
|
97
|
+
kCTFontManagerErrorRegistrationFailed = 301,
|
|
98
|
+
kCTFontManagerErrorMissingEntitlement = 302,
|
|
99
|
+
kCTFontManagerErrorInsufficientInfo = 303,
|
|
100
|
+
kCTFontManagerErrorCancelledByUser = 304,
|
|
101
|
+
kCTFontManagerErrorDuplicatedName = 305,
|
|
102
|
+
kCTFontManagerErrorInvalidFilePath = 306,
|
|
103
|
+
kCTFontManagerErrorUnsupportedScope = 307,
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
CF_ASSUME_NONNULL_END
|
|
107
|
+
CF_EXTERN_C_END
|
|
108
|
+
|
|
109
|
+
#endif
|
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* CTFrame.h
|
|
3
|
+
* CoreText
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2003-2018 Apple Inc. All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/*!
|
|
10
|
+
@header
|
|
11
|
+
|
|
12
|
+
Thread Safety Information
|
|
13
|
+
|
|
14
|
+
All functions in this header are thread safe unless otherwise specified.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
#ifndef __CTFRAME__
|
|
18
|
+
#define __CTFRAME__
|
|
19
|
+
|
|
20
|
+
#include <CoreText/CTDefines.h>
|
|
21
|
+
|
|
22
|
+
#include <CoreFoundation/CoreFoundation.h>
|
|
23
|
+
#include <CoreGraphics/CoreGraphics.h>
|
|
24
|
+
|
|
25
|
+
CF_IMPLICIT_BRIDGING_ENABLED
|
|
26
|
+
CF_EXTERN_C_BEGIN
|
|
27
|
+
CF_ASSUME_NONNULL_BEGIN
|
|
28
|
+
|
|
29
|
+
/* --------------------------------------------------------------------------- */
|
|
30
|
+
/* Frame Types */
|
|
31
|
+
/* --------------------------------------------------------------------------- */
|
|
32
|
+
|
|
33
|
+
typedef const struct CF_BRIDGED_TYPE(id) __CTFrame * CTFrameRef;
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/*!
|
|
37
|
+
@function CTFrameGetTypeID
|
|
38
|
+
@abstract Returns the CFType of the frame object
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
CT_EXPORT
|
|
42
|
+
CFTypeID CTFrameGetTypeID( void ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/* --------------------------------------------------------------------------- */
|
|
46
|
+
/* Frame Values */
|
|
47
|
+
/* --------------------------------------------------------------------------- */
|
|
48
|
+
|
|
49
|
+
/*!
|
|
50
|
+
@enum CTFrameProgression
|
|
51
|
+
@abstract These constants specify frame progression types.
|
|
52
|
+
|
|
53
|
+
@discussion The lines of text within a frame may be stacked for either
|
|
54
|
+
horizontal or vertical text. Values are enumerated for each
|
|
55
|
+
stacking type supported by CTFrame. Frames created with a
|
|
56
|
+
progression type specifying vertical text will rotate lines
|
|
57
|
+
90 degrees counterclockwise when drawing.
|
|
58
|
+
|
|
59
|
+
@constant kCTFrameProgressionTopToBottom
|
|
60
|
+
Lines are stacked top to bottom for horizontal text.
|
|
61
|
+
|
|
62
|
+
@constant kCTFrameProgressionRightToLeft
|
|
63
|
+
Lines are stacked right to left for vertical text.
|
|
64
|
+
|
|
65
|
+
@constant kCTFrameProgressionLeftToRight
|
|
66
|
+
Lines are stacked left to right for vertical text.
|
|
67
|
+
*/
|
|
68
|
+
|
|
69
|
+
typedef CF_ENUM(uint32_t, CTFrameProgression) {
|
|
70
|
+
kCTFrameProgressionTopToBottom = 0,
|
|
71
|
+
kCTFrameProgressionRightToLeft = 1,
|
|
72
|
+
kCTFrameProgressionLeftToRight = 2
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
/*!
|
|
77
|
+
@const kCTFrameProgressionAttributeName
|
|
78
|
+
@abstract Specifies progression for a frame.
|
|
79
|
+
|
|
80
|
+
@discussion Value must be a CFNumberRef containing a CTFrameProgression.
|
|
81
|
+
Default is kCTFrameProgressionTopToBottom. This value determines
|
|
82
|
+
the line stacking behavior for a frame and does not affect the
|
|
83
|
+
appearance of the glyphs within that frame.
|
|
84
|
+
|
|
85
|
+
@seealso CTFramesetterCreateFrame
|
|
86
|
+
*/
|
|
87
|
+
|
|
88
|
+
CT_EXPORT const CFStringRef kCTFrameProgressionAttributeName CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
|
|
89
|
+
|
|
90
|
+
/*!
|
|
91
|
+
@enum CTFramePathFillRule
|
|
92
|
+
@abstract These constants specify fill rule used by the frame.
|
|
93
|
+
|
|
94
|
+
@discussion When a path intersects with itself, the client should specify which rule to use for deciding the
|
|
95
|
+
area of the path.
|
|
96
|
+
|
|
97
|
+
@constant kCTFramePathFillEvenOdd
|
|
98
|
+
Text is filled in the area that would be painted if the path were given to CGContextEOFillPath.
|
|
99
|
+
|
|
100
|
+
@constant kCTFramePathFillWindingNumber
|
|
101
|
+
Text is fill in the area that would be painted if the path were given to CGContextFillPath.
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
*/
|
|
105
|
+
|
|
106
|
+
typedef CF_ENUM(uint32_t, CTFramePathFillRule) {
|
|
107
|
+
kCTFramePathFillEvenOdd = 0,
|
|
108
|
+
kCTFramePathFillWindingNumber = 1
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
/*!
|
|
113
|
+
@const kCTFramePathFillRuleAttributeName
|
|
114
|
+
@abstract Specifies fill rule for a frame if this attribute is used at top level of frameAttributes dictionary, or specify
|
|
115
|
+
fill rule for a clipping path if used in a dictionary contained in an array specified by kCTFrameClippingPathsAttributeName.
|
|
116
|
+
|
|
117
|
+
@discussion Value must be a CFNumberRef containing kCTFramePathFillEvenOdd or kCTFramePathFillWindingNumber.
|
|
118
|
+
Default is kCTFramePathFillEvenOdd.
|
|
119
|
+
|
|
120
|
+
@seealso CTFramesetterCreateFrame
|
|
121
|
+
*/
|
|
122
|
+
|
|
123
|
+
CT_EXPORT const CFStringRef kCTFramePathFillRuleAttributeName CT_AVAILABLE(macos(10.7), ios(4.2), watchos(2.0), tvos(9.0));
|
|
124
|
+
|
|
125
|
+
/*!
|
|
126
|
+
@const kCTFramePathWidthAttributeName
|
|
127
|
+
@abstract Specifies frame width if this attribute is used at top level of frameAttributes dictionary, or specify
|
|
128
|
+
clipping path width if used in a dictionary contained in an array specified by kCTFrameClippingPathsAttributeName.
|
|
129
|
+
|
|
130
|
+
@discussion Value must be a CFNumberRef specifying frame width.
|
|
131
|
+
Default is zero.
|
|
132
|
+
|
|
133
|
+
@seealso CTFramesetterCreateFrame
|
|
134
|
+
*/
|
|
135
|
+
|
|
136
|
+
CT_EXPORT const CFStringRef kCTFramePathWidthAttributeName CT_AVAILABLE(macos(10.7), ios(4.2), watchos(2.0), tvos(9.0));
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
/*!
|
|
140
|
+
@const kCTFrameClippingPathsAttributeName
|
|
141
|
+
@abstract Specifies array of paths to clip frame.
|
|
142
|
+
|
|
143
|
+
@discussion Value must be a CFArrayRef containing CFDictionaryRefs or CGPathRef. (CGPathRef is allowed on 10.8 or later.)
|
|
144
|
+
Each dictionary should have a kCTFramePathClippingPathAttributeName key-value pair, and can have a kCTFramePathFillRuleAttributeName key-value pair
|
|
145
|
+
and kCTFramePathFillRuleAttributeName key-value pair as optional parameters. In case of CGPathRef, default fill rule (kCTFramePathFillEvenOdd) and width (0.0) are used.
|
|
146
|
+
|
|
147
|
+
@seealso CTFramesetterCreateFrame
|
|
148
|
+
*/
|
|
149
|
+
|
|
150
|
+
CT_EXPORT const CFStringRef kCTFrameClippingPathsAttributeName CT_AVAILABLE(macos(10.7), ios(4.3), watchos(2.0), tvos(9.0));
|
|
151
|
+
|
|
152
|
+
/*!
|
|
153
|
+
@const kCTFramePathClippingPathAttributeName
|
|
154
|
+
@abstract Specifies clipping path. This attribute is valid in a dictionary contained in an array specified by kCTFrameClippingPathsAttributeName.
|
|
155
|
+
On 10.8 or later, This attribute is also valid in frameAttributes dictionary passed to CTFramesetterCreateFrame.
|
|
156
|
+
|
|
157
|
+
@discussion Value must be a CGPathRef specifying a clipping path.
|
|
158
|
+
|
|
159
|
+
@seealso kCTFrameClippingPathsAttributeName
|
|
160
|
+
*/
|
|
161
|
+
|
|
162
|
+
CT_EXPORT const CFStringRef kCTFramePathClippingPathAttributeName CT_AVAILABLE(macos(10.7), ios(4.3), watchos(2.0), tvos(9.0));
|
|
163
|
+
|
|
164
|
+
/* --------------------------------------------------------------------------- */
|
|
165
|
+
/* Frame Accessors */
|
|
166
|
+
/* --------------------------------------------------------------------------- */
|
|
167
|
+
|
|
168
|
+
/*!
|
|
169
|
+
@function CTFrameGetStringRange
|
|
170
|
+
@abstract Returns the range of characters that were originally requested
|
|
171
|
+
to fill the frame.
|
|
172
|
+
|
|
173
|
+
@param frame
|
|
174
|
+
The frame that you want to get the character range from.
|
|
175
|
+
|
|
176
|
+
@result This function will return a CFRange containing the backing
|
|
177
|
+
store range of characters that were originally requested
|
|
178
|
+
to fill the frame. If the function call is not successful,
|
|
179
|
+
then an empty range will be returned.
|
|
180
|
+
*/
|
|
181
|
+
|
|
182
|
+
CT_EXPORT
|
|
183
|
+
CFRange CTFrameGetStringRange(
|
|
184
|
+
CTFrameRef frame ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
/*!
|
|
188
|
+
@function CTFrameGetVisibleStringRange
|
|
189
|
+
@abstract Returns the range of characters that actually fit in the
|
|
190
|
+
frame.
|
|
191
|
+
|
|
192
|
+
@discussion This can be used to chain frames, as it returns the range of
|
|
193
|
+
characters that can be seen in the frame. The next frame would
|
|
194
|
+
start where this frame ends.
|
|
195
|
+
|
|
196
|
+
@param frame
|
|
197
|
+
The frame that you want to get the visible character range
|
|
198
|
+
from.
|
|
199
|
+
|
|
200
|
+
@result This function will return a CFRange containing the backing
|
|
201
|
+
store range of characters that fit into the frame. If the
|
|
202
|
+
function call is not successful, or if no characters fit
|
|
203
|
+
in the frame, then an empty range will be returned.
|
|
204
|
+
*/
|
|
205
|
+
|
|
206
|
+
CT_EXPORT
|
|
207
|
+
CFRange CTFrameGetVisibleStringRange(
|
|
208
|
+
CTFrameRef frame ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
/*!
|
|
212
|
+
@function CTFrameGetPath
|
|
213
|
+
@abstract Returns the path used to create the frame.
|
|
214
|
+
|
|
215
|
+
@param frame
|
|
216
|
+
The frame that you want to obtain the path from.
|
|
217
|
+
*/
|
|
218
|
+
|
|
219
|
+
CT_EXPORT
|
|
220
|
+
CGPathRef CTFrameGetPath(
|
|
221
|
+
CTFrameRef frame ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
/*!
|
|
225
|
+
@function CTFrameGetFrameAttributes
|
|
226
|
+
@abstract Returns the frame attributes used to create the frame.
|
|
227
|
+
|
|
228
|
+
@discussion It is possible to create a frame with an attributes dictionary
|
|
229
|
+
in order to control various aspects of the framing process.
|
|
230
|
+
These attributes are different from the ones that are used to
|
|
231
|
+
create an attributed string.
|
|
232
|
+
|
|
233
|
+
@param frame
|
|
234
|
+
The frame that you want to obtain the frame attributes from.
|
|
235
|
+
|
|
236
|
+
@result This function will return a CFDictionary containing the
|
|
237
|
+
frame attributes that were used to create the frame. If the
|
|
238
|
+
frame was created without any frame attributes, this function
|
|
239
|
+
will return NULL.
|
|
240
|
+
*/
|
|
241
|
+
|
|
242
|
+
CT_EXPORT
|
|
243
|
+
CFDictionaryRef _Nullable CTFrameGetFrameAttributes(
|
|
244
|
+
CTFrameRef frame ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
/*!
|
|
248
|
+
@function CTFrameGetLines
|
|
249
|
+
@abstract Returns an array of lines that make up the frame.
|
|
250
|
+
|
|
251
|
+
@discussion This function will return an array of CTLine objects that are
|
|
252
|
+
stored in the frame. These line objects can be accessed and
|
|
253
|
+
manipulated in any way that normal line objects can be. It is
|
|
254
|
+
possible that an empty frame exists. That is, a frame in which
|
|
255
|
+
no lines exist. In this case, the returned array will have 0
|
|
256
|
+
entries.
|
|
257
|
+
|
|
258
|
+
@param frame
|
|
259
|
+
The frame that you want to obtain the line array from.
|
|
260
|
+
|
|
261
|
+
@result This function will return a CFArray object containing the
|
|
262
|
+
CTLine objects that make up the frame.
|
|
263
|
+
*/
|
|
264
|
+
|
|
265
|
+
CT_EXPORT
|
|
266
|
+
CFArrayRef CTFrameGetLines(
|
|
267
|
+
CTFrameRef frame ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
/*!
|
|
271
|
+
@function CTFrameGetLineOrigins
|
|
272
|
+
@abstract Copies a range of line origins for a frame.
|
|
273
|
+
|
|
274
|
+
@discussion This function will copy a range of CGPoint structures. Each
|
|
275
|
+
CGPoint is the origin of the corresponding line in the array of
|
|
276
|
+
lines returned by CTFrameGetLines, relative to the origin of the
|
|
277
|
+
frame's path. The maximum number of line origins returned by
|
|
278
|
+
this function is the count of the array of lines.
|
|
279
|
+
|
|
280
|
+
@param frame
|
|
281
|
+
The frame that you want to obtain the line origin array from.
|
|
282
|
+
|
|
283
|
+
@param range
|
|
284
|
+
The range of line origins you wish to copy. If the length of the
|
|
285
|
+
range is set to 0, then the copy operation will continue from
|
|
286
|
+
the range's start index to the last line origin.
|
|
287
|
+
|
|
288
|
+
@param origins
|
|
289
|
+
The buffer to which the origins will be copied. The buffer must
|
|
290
|
+
have at least as many elements as specified by range's length.
|
|
291
|
+
When using the origins to calculate measurements for a frame's
|
|
292
|
+
contents, remember that line origins do not always correspond to
|
|
293
|
+
line metrics; paragraph style settings can affect line origins,
|
|
294
|
+
for one. The overall typographic bounds of a frame may generally
|
|
295
|
+
be calculated as the difference between the top of the frame and
|
|
296
|
+
the descent of the last line. This will obviously exclude any
|
|
297
|
+
spacing following the last line, but such spacing has no effect
|
|
298
|
+
on framesetting in the first place.
|
|
299
|
+
*/
|
|
300
|
+
|
|
301
|
+
CT_EXPORT
|
|
302
|
+
void CTFrameGetLineOrigins(
|
|
303
|
+
CTFrameRef frame,
|
|
304
|
+
CFRange range,
|
|
305
|
+
CGPoint origins[_Nonnull] ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
/*!
|
|
309
|
+
@function CTFrameDraw
|
|
310
|
+
@abstract Draws an entire frame to a context.
|
|
311
|
+
|
|
312
|
+
@discussion This function will draw an entire frame to the context. Note
|
|
313
|
+
that this call may leave the context in any state and does not
|
|
314
|
+
flush it after the draw operation.
|
|
315
|
+
|
|
316
|
+
@param frame
|
|
317
|
+
The frame that you want to draw.
|
|
318
|
+
|
|
319
|
+
@param context
|
|
320
|
+
The context to draw the frame to.
|
|
321
|
+
|
|
322
|
+
@discussion If both the frame and the context are valid, the frame will be
|
|
323
|
+
drawn in the context.
|
|
324
|
+
*/
|
|
325
|
+
|
|
326
|
+
CT_EXPORT
|
|
327
|
+
void CTFrameDraw(
|
|
328
|
+
CTFrameRef frame,
|
|
329
|
+
CGContextRef context ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
CF_ASSUME_NONNULL_END
|
|
333
|
+
CF_EXTERN_C_END
|
|
334
|
+
CF_IMPLICIT_BRIDGING_DISABLED
|
|
335
|
+
|
|
336
|
+
#endif
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* CTFramesetter.h
|
|
3
|
+
* CoreText
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2003-2019 Apple Inc. All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/*!
|
|
10
|
+
@header
|
|
11
|
+
|
|
12
|
+
Thread Safety Information
|
|
13
|
+
|
|
14
|
+
All functions in this header are thread safe unless otherwise specified.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
#ifndef __CTFRAMESETTER__
|
|
18
|
+
#define __CTFRAMESETTER__
|
|
19
|
+
|
|
20
|
+
#include <CoreText/CTFrame.h>
|
|
21
|
+
#include <CoreText/CTTypesetter.h>
|
|
22
|
+
|
|
23
|
+
CF_IMPLICIT_BRIDGING_ENABLED
|
|
24
|
+
CF_EXTERN_C_BEGIN
|
|
25
|
+
CF_ASSUME_NONNULL_BEGIN
|
|
26
|
+
|
|
27
|
+
/* --------------------------------------------------------------------------- */
|
|
28
|
+
/* Framesetter Types */
|
|
29
|
+
/* --------------------------------------------------------------------------- */
|
|
30
|
+
|
|
31
|
+
typedef const struct CF_BRIDGED_TYPE(id) __CTFramesetter * CTFramesetterRef;
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
/*!
|
|
35
|
+
@function CTFramesetterGetTypeID
|
|
36
|
+
@abstract Returns the CFType of the framesetter object
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
CT_EXPORT
|
|
40
|
+
CFTypeID CTFramesetterGetTypeID( void ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/* --------------------------------------------------------------------------- */
|
|
44
|
+
/* Framesetter Creation */
|
|
45
|
+
/* --------------------------------------------------------------------------- */
|
|
46
|
+
|
|
47
|
+
/*!
|
|
48
|
+
@function CTFramesetterCreateWithTypesetter
|
|
49
|
+
@abstract Creates a framesetter directly from a typesetter.
|
|
50
|
+
|
|
51
|
+
@discussion Each framesetter uses a typesetter internally to perform
|
|
52
|
+
line breaking and other contextual analysis based on the
|
|
53
|
+
characters in a string. This function allows use of a
|
|
54
|
+
typesetter that was constructed using specific options.
|
|
55
|
+
|
|
56
|
+
@param typesetter
|
|
57
|
+
The typesetter to be used by the newly-created framesetter.
|
|
58
|
+
|
|
59
|
+
@result This function will return a reference to a CTFramesetter object.
|
|
60
|
+
|
|
61
|
+
@seealso CTTypesetterCreateWithAttributedStringAndOptions
|
|
62
|
+
*/
|
|
63
|
+
|
|
64
|
+
CT_EXPORT
|
|
65
|
+
CTFramesetterRef CTFramesetterCreateWithTypesetter(
|
|
66
|
+
CTTypesetterRef typesetter ) CT_AVAILABLE(macos(10.14), ios(12.0), watchos(5.0), tvos(12.0));
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
/*!
|
|
70
|
+
@function CTFramesetterCreateWithAttributedString
|
|
71
|
+
@abstract Creates an immutable framesetter object from an attributed
|
|
72
|
+
string.
|
|
73
|
+
|
|
74
|
+
@discussion The resultant framesetter object can be used to create and
|
|
75
|
+
fill text frames with the CTFramesetterCreateFrame call.
|
|
76
|
+
|
|
77
|
+
@param attrString
|
|
78
|
+
The attributed string to construct the framesetter with.
|
|
79
|
+
|
|
80
|
+
@result This function will return a reference to a CTFramesetter object.
|
|
81
|
+
*/
|
|
82
|
+
|
|
83
|
+
CT_EXPORT
|
|
84
|
+
CTFramesetterRef CTFramesetterCreateWithAttributedString(
|
|
85
|
+
CFAttributedStringRef attrString ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
/* --------------------------------------------------------------------------- */
|
|
89
|
+
/* Frame Creation */
|
|
90
|
+
/* --------------------------------------------------------------------------- */
|
|
91
|
+
|
|
92
|
+
/*!
|
|
93
|
+
@function CTFramesetterCreateFrame
|
|
94
|
+
@abstract Creates an immutable frame from a framesetter.
|
|
95
|
+
|
|
96
|
+
@discussion This call will create a frame full of glyphs in the shape of
|
|
97
|
+
the path provided by the "path" parameter. The framesetter
|
|
98
|
+
will continue to fill the frame until it either runs out of
|
|
99
|
+
text or it finds that text no longer fits.
|
|
100
|
+
|
|
101
|
+
@param framesetter
|
|
102
|
+
The framesetter that will be used to create the frame.
|
|
103
|
+
|
|
104
|
+
@param stringRange
|
|
105
|
+
The string range which the new frame will be based on. The
|
|
106
|
+
string range is a range over the string that was used to
|
|
107
|
+
create the framesetter. If the length portion of the range
|
|
108
|
+
is set to 0, then the framesetter will continue to add lines
|
|
109
|
+
until it runs out of text or space.
|
|
110
|
+
|
|
111
|
+
@param path
|
|
112
|
+
A CGPath object that specifies the shape which the frame will
|
|
113
|
+
take on.
|
|
114
|
+
|
|
115
|
+
@param frameAttributes
|
|
116
|
+
Additional attributes that control the frame filling process
|
|
117
|
+
can be specified here, or NULL if there are no such attributes.
|
|
118
|
+
See CTFrame.h for available attributes.
|
|
119
|
+
|
|
120
|
+
@result This function will return a reference to a new CTFrame object.
|
|
121
|
+
*/
|
|
122
|
+
|
|
123
|
+
CT_EXPORT
|
|
124
|
+
CTFrameRef CTFramesetterCreateFrame(
|
|
125
|
+
CTFramesetterRef framesetter,
|
|
126
|
+
CFRange stringRange,
|
|
127
|
+
CGPathRef path,
|
|
128
|
+
CFDictionaryRef _Nullable frameAttributes ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
/*!
|
|
132
|
+
@function CTFramesetterGetTypesetter
|
|
133
|
+
@abstract Returns the typesetter object being used by the framesetter.
|
|
134
|
+
|
|
135
|
+
@discussion Each framesetter uses a typesetter internally to perform
|
|
136
|
+
line breaking and other contextual analysis based on the
|
|
137
|
+
characters in a string; this function returns the typesetter
|
|
138
|
+
being used by a particular framesetter if the caller would
|
|
139
|
+
like to perform other operations on that typesetter.
|
|
140
|
+
|
|
141
|
+
@param framesetter
|
|
142
|
+
The framesetter from which a typesetter is being requested.
|
|
143
|
+
|
|
144
|
+
@result This function will return a reference to a CTTypesetter
|
|
145
|
+
object, which should not be released by the caller.
|
|
146
|
+
*/
|
|
147
|
+
|
|
148
|
+
CT_EXPORT
|
|
149
|
+
CTTypesetterRef CTFramesetterGetTypesetter(
|
|
150
|
+
CTFramesetterRef framesetter ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
/* --------------------------------------------------------------------------- */
|
|
154
|
+
/* Frame Sizing */
|
|
155
|
+
/* --------------------------------------------------------------------------- */
|
|
156
|
+
|
|
157
|
+
/*!
|
|
158
|
+
@function CTFramesetterSuggestFrameSizeWithConstraints
|
|
159
|
+
@abstract Determines the frame size needed for a string range.
|
|
160
|
+
|
|
161
|
+
@discussion This function may be used to determine how much space is needed
|
|
162
|
+
to display a string, optionally by constraining the space along
|
|
163
|
+
either dimension.
|
|
164
|
+
|
|
165
|
+
@param framesetter
|
|
166
|
+
The framesetter that will be used for measuring the frame size.
|
|
167
|
+
|
|
168
|
+
@param stringRange
|
|
169
|
+
The string range to which the frame size will apply. The
|
|
170
|
+
string range is a range over the string that was used to
|
|
171
|
+
create the framesetter. If the length portion of the range
|
|
172
|
+
is set to 0, then the framesetter will continue to add lines
|
|
173
|
+
until it runs out of text or space.
|
|
174
|
+
|
|
175
|
+
@param frameAttributes
|
|
176
|
+
Additional attributes that control the frame filling process
|
|
177
|
+
can be specified here, or NULL if there are no such attributes.
|
|
178
|
+
|
|
179
|
+
@param constraints
|
|
180
|
+
The width and height to which the frame size will be constrained,
|
|
181
|
+
A value of CGFLOAT_MAX for either dimension indicates that it
|
|
182
|
+
should be treated as unconstrained.
|
|
183
|
+
|
|
184
|
+
@param fitRange
|
|
185
|
+
The range of the string that actually fit in the constrained size.
|
|
186
|
+
|
|
187
|
+
@result The actual dimensions for the given string range and constraints.
|
|
188
|
+
*/
|
|
189
|
+
|
|
190
|
+
CT_EXPORT
|
|
191
|
+
CGSize CTFramesetterSuggestFrameSizeWithConstraints(
|
|
192
|
+
CTFramesetterRef framesetter,
|
|
193
|
+
CFRange stringRange,
|
|
194
|
+
CFDictionaryRef _Nullable frameAttributes,
|
|
195
|
+
CGSize constraints,
|
|
196
|
+
CFRange * _Nullable fitRange ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
CF_ASSUME_NONNULL_END
|
|
200
|
+
CF_EXTERN_C_END
|
|
201
|
+
CF_IMPLICIT_BRIDGING_DISABLED
|
|
202
|
+
|
|
203
|
+
#endif
|