peachsim 0.1.1684 → 0.1.1700
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/cli/bridge-flow-runner.ts +61 -39
- package/cli/commands/agent-wrapper.ts +21 -10
- package/cli/commands/control.ts +27 -7
- package/cli/commands/coverage-swift.ts +72 -5
- package/cli/commands/coverage.ts +1 -1
- package/cli/commands/detect.ts +17 -4
- package/cli/commands/inspect/actions.ts +1 -0
- package/cli/commands/maestro-compare.ts +25 -99
- package/cli/commands/screenshot.ts +12 -0
- package/cli/help-core.ts +3 -4
- package/cli/maestro-compare.ts +172 -4
- package/cli/outbound-endpoints.ts +2 -10
- package/detox/index.ts +15 -0
- package/detox/launch-permissions.ts +169 -0
- package/dist-lib/agent-daemon-client.cjs +2 -2
- package/dist-lib/agent-events.cjs +2 -2
- package/dist-lib/attached-projects.cjs +2 -2
- package/dist-lib/auth/shared-session.cjs +2 -2
- package/dist-lib/backend-origin.cjs +2 -2
- package/dist-lib/beta.cjs +2 -2
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +2 -2
- package/dist-lib/bridge-contract-input.cjs +2 -2
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +2 -2
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +6729 -3591
- package/dist-lib/capture-contract.cjs +2 -2
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +2 -2
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +2 -2
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +2 -2
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +2 -2
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +104 -3
- package/dist-lib/dev-bundle-resolution.cjs +208 -44
- package/dist-lib/expo-swift-bundle.cjs +3475 -2137
- package/dist-lib/expo-swift-metadata.cjs +2 -2
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +2 -2
- package/dist-lib/host/bridge-host.cjs +8970 -3652
- package/dist-lib/host/fetch-proxy-handler.cjs +332 -40
- package/dist-lib/host/fetch-proxy-overrides.cjs +2 -2
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +2 -2
- package/dist-lib/host/websocket-proxy.cjs +2 -2
- package/dist-lib/index.cjs +469 -143
- package/dist-lib/jump-to-source-babel.cjs +2 -2
- package/dist-lib/jump-to-source-native.cjs +2 -2
- package/dist-lib/kotlin-host.cjs +2 -2
- package/dist-lib/menu.cjs +2 -2
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +2 -2
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +2 -2
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +465 -139
- package/dist-lib/native-app-identity-project.cjs +209 -86
- package/dist-lib/native-app-identity-project.mjs +251 -116
- package/dist-lib/native-app-identity.cjs +2 -2
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +2 -2
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +2 -2
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +2 -2
- package/dist-lib/public-brand.cjs +2 -2
- package/dist-lib/public-origins-lib-esm.json +27 -23
- package/dist-lib/public-origins-lib.json +221 -88
- package/dist-lib/react-native-host-modules.cjs +2 -2
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +2 -2
- package/dist-lib/scripts/dev-server-scanner.cjs +206 -31
- package/dist-lib/sdk.cjs +3 -3
- package/dist-lib/sdk.mjs +2 -2
- package/dist-lib/skills.cjs +20997 -16596
- package/dist-lib/swift-compile.cjs +3075 -459
- package/dist-lib/swift-compile.mjs +3028 -415
- package/dist-lib/swift-package.cjs +131 -69
- package/dist-lib/swift-package.mjs +126 -68
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +31 -4
- package/dist-lib/swift.cjs +2 -2
- package/dist-lib/vite-swift.cjs +5049 -1704
- package/dist-lib/vite.cjs +261 -58
- package/dist-lib/worklet-executable.cjs +8 -5
- package/dist-lib/worklet-executable.mjs +7 -4
- package/dist-types/packages/peach-engine/src/engine/clipboardContract.d.ts +15 -1
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/scroll-pan-contacts.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +7 -0
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/render-worker/host-service-protocol.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +17 -0
- package/dist-types/packages/peach-engine/src/render-worker/worker-input-runtime.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +3 -0
- package/dist-types/packages/peach-globals/src/cameraBridgeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/clipboardBridgeContract.d.ts +6 -0
- package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/nodeContract.d.ts +3 -2
- package/dist-types/packages/peach-globals/src/replayBridgeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/shellHostBridgeContract.d.ts +3 -0
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
- package/dist-types/packages/peach-kit/src/materials/types.d.ts +1 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/scripts/dev-server-scanner.ts +4 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Alpha.h +2282 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/BasicImageTypes.h +55 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h +10551 -6
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Convolution.h +4236 -3
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h +827 -8
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Histogram.h +1369 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Morphology.h +1243 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Transform.h +1747 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage.h +291 -2
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_CVUtilities.h +1283 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h +811 -91
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Utilities.h +1342 -25
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns.h +2738 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_constants.h +1685 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_graph.h +913 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_structures.h +1917 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h +23 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/arithmetic.h +209 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/base.h +104 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/linear_systems.h +77 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/matrix.h +554 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/norms.h +58 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/object.h +186 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/splat.h +86 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/vector.h +364 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Quadrature/Integration.h +195 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Quadrature/Quadrature.h +44 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/BLAS/BLAS.h +2330 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/BLAS/Types.h +123 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/Solve.h +8339 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/SolveImplementation.h +520 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/SolveImplementationTyped.h +1893 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/Sparse.h +10 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/blas_new.h +1098 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/cblas.h +859 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/cblas_new.h +1134 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/clapack.h +10555 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/fortran_blas.h +695 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack.h +38526 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack_types.h +60 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack_version.h +20 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/thread_api.h +50 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vBasicOps.h +1218 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vBigNum.h +1458 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vDSP.h +10377 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vDSP_translate.h +167 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vForce.h +1243 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vecLib.h +114 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vecLibTypes.h +146 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vectorOps.h +1106 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vfp.h +294 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h +25 -1
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h +673 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h +232 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h +827 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h +121 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h +387 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h +79 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h +122 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h +674 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h +182 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h +213 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h +82 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h +129 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h +491 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h +883 -2
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h +98 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +11 -220
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h +2 -6
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLAvailability.h +22 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBackgroundActivitySession.h +145 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityCondition.h +113 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityConstraint.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h +225 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBody.h +26 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h +59 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h +64 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h +48 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLError.h +52 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLErrorDomain.h +24 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h +55 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLHeading.h +117 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h +9 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager+CLVisitExtensions.h +45 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h +877 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h +225 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h +33 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h +250 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h +140 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h +77 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h +184 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h +57 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h +98 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h +123 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLServiceSession.h +211 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h +66 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h +46 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Modules/module.modulemap +7 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +98 -3
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h +52 -0
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h +240 -0
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h +474 -0
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h +66 -0
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Modules/module.modulemap +10 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4AccelerationStructure.h +9 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4Archive.h +16 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4ArgumentTable.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4BinaryFunction.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4BinaryFunctionDescriptor.h +14 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4BufferRange.h +79 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandAllocator.h +15 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandBuffer.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandEncoder.h +16 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandQueue.h +19 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommitFeedback.h +15 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4Compiler.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CompilerTask.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4ComputeCommandEncoder.h +19 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4ComputePipeline.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4Counters.h +19 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4FunctionDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4LibraryDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4LibraryFunctionDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4LinkingDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4MachineLearningCommandEncoder.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4MachineLearningPipeline.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4MeshRenderPipeline.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4PipelineDataSetSerializer.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4PipelineState.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4RenderCommandEncoder.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4RenderPass.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4RenderPipeline.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4SpecializedFunctionDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4StitchedFunctionDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4TileRenderPipeline.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructure.h +1212 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h +322 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureTypes.h +224 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAllocation.h +22 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h +279 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h +199 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBinaryArchive.h +142 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h +266 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBlitPass.h +82 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h +94 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h +113 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h +43 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h +449 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h +148 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h +102 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h +350 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLComputePass.h +90 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h +274 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCounters.h +225 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDataType.h +232 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h +39 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h +93 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h +1122 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDeviceCertification.h +29 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h +36 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDynamicLibrary.h +81 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h +79 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h +22 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h +30 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionDescriptor.h +95 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionHandle.h +29 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionLog.h +37 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionStitching.h +131 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLGPUAddress.h +19 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h +284 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIOCommandBuffer.h +10 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIOCommandQueue.h +11 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIOCompressor.h +10 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h +157 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h +110 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIntersectionFunctionTable.h +186 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h +549 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLLinkedFunctions.h +57 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLLogState.h +65 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h +77 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h +57 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h +342 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h +323 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h +1068 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h +411 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h +788 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResidencySet.h +141 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h +307 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h +125 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStatePass.h +85 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResourceViewPool.h +22 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h +252 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h +158 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTensor.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h +460 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTextureViewPool.h +18 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h +125 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h +153 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLVisibleFunctionTable.h +45 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/Metal.h +94 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h +1 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecBase.h +906 -3
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h +613 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecItem.h +1284 -29
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h +441 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecTrust.h +845 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/Security.h +4 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTDefines.h +35 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTTagClass.h +33 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTType.h +504 -0
- package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/CLEssentialsAvailability.h +14 -0
- package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/CLLocationEssentials.h +444 -0
- package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/LocationEssentials.h +14 -0
- package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Modules/module.modulemap +14 -0
- package/sdk/ios/usr/include/AvailabilityMacros.h +3985 -0
- package/sdk/ios/usr/include/complex.h +167 -0
- package/sdk/ios/usr/include/copyfile.h +143 -0
- package/sdk/ios/usr/include/dispatch/dispatch.h +5 -0
- package/sdk/ios/usr/include/mach/mach_types.h +1 -0
- package/sdk/ios/usr/include/malloc/_malloc.h +143 -0
- package/sdk/ios/usr/include/malloc/_malloc_type.h +153 -0
- package/sdk/ios/usr/include/malloc/_platform.h +80 -0
- package/sdk/ios/usr/include/malloc/_ptrcheck.h +43 -0
- package/sdk/ios/usr/include/malloc/malloc.h +768 -0
- package/sdk/ios/usr/include/math.h +835 -2
- package/sdk/ios/usr/include/os/availability.h +168 -6
- package/sdk/ios/usr/include/os/base.h +351 -0
- package/sdk/ios/usr/include/os/clock.h +18 -0
- package/sdk/ios/usr/include/os/lock.h +232 -10
- package/sdk/ios/usr/include/os/log.h +521 -38
- package/sdk/ios/usr/include/os/object.h +320 -3
- package/sdk/ios/usr/include/os/trace.h +492 -0
- package/sdk/ios/usr/include/os/trace_base.h +167 -0
- package/sdk/ios/usr/include/os/workgroup.h +37 -0
- package/sdk/ios/usr/include/os/workgroup_base.h +91 -0
- package/sdk/ios/usr/include/os/workgroup_interval.h +156 -0
- package/sdk/ios/usr/include/os/workgroup_object.h +359 -0
- package/sdk/ios/usr/include/os/workgroup_parallel.h +76 -0
- package/sdk/ios/usr/include/sys/cdefs.h +38 -1
- package/sdk/ios/wasm/include/unistd.h +3 -0
- package/skills/contrast/SKILL.md +3 -0
- package/src/codex-client.ts +11 -6
- package/src/dev-bundle-resolution.ts +124 -48
- package/src/expo-native-workspace.ts +176 -0
- package/src/expo-swift-host.ts +161 -26
- package/src/expo-swift-ready.ts +14 -28
- package/src/expoSwiftContract.ts +4 -1
- package/src/generated/swift-c-predefines.json +2044 -0
- package/src/host/bridge-host.ts +5 -0
- package/src/installed-package-versions.ts +14 -1
- package/src/metro-project-root.ts +44 -33
- package/src/native-app-identity-project.ts +1 -0
- package/src/nitro-adapter.lock.json +916 -10
- package/src/nitro-adapter.ts +33 -24
- package/src/nitro-bundle.ts +108 -21
- package/src/nitro-compile.ts +36 -5
- package/src/nitro-source.ts +13 -3
- package/src/nitroAdapterContract.ts +100 -20
- package/src/nitroContract.ts +18 -2
- package/src/node-http-fetch.ts +116 -0
- package/src/packageVersionsContract.ts +46 -0
- package/src/serverDiscoveryContract.ts +1 -0
- package/src/settingsContract.ts +0 -30
- package/src/swift-binary-modules.ts +20 -5
- package/src/swift-compile.ts +598 -81
- package/src/swift-coverage/package.ts +3 -1
- package/src/swift-coverage/xcode-assets.ts +66 -5
- package/src/swift-coverage/xcode-packages.ts +11 -6
- package/src/swift-host.ts +347 -60
- package/src/swift-objc-compile.ts +52 -10
- package/src/swift-objc-metadata.ts +2 -2
- package/src/swift-objc-platform.ts +2 -2
- package/src/swift-objc-standin.ts +53 -13
- package/src/swift-package-manifest.ts +151 -28
- package/src/swift-package.ts +158 -75
- package/src/swift-packages.ts +141 -44
- package/src/swift-source-file.ts +10 -15
- package/src/swift-source-pods.ts +126 -41
- package/src/swift-standin-digest.ts +77 -0
- package/src/swift-standin-emit.ts +40 -4
- package/src/swift-standins.ts +154 -31
- package/src/swift-submit.ts +5 -0
- package/src/swift-toolchain.ts +38 -0
- package/src/swiftContract.ts +168 -75
- package/src/target-matcher.ts +15 -2
- package/src/vite-plugin.ts +0 -10
- package/src/worklet-executable.ts +7 -3
- package/src/xcode-json-project.ts +14 -2
- package/src/xcode-project.ts +215 -100
- package/src/settings-flags.ts +0 -107
package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CLMonitorConfiguration.h
|
|
3
|
+
// CoreLocation
|
|
4
|
+
//
|
|
5
|
+
// Created by NivashRaaja on 1/26/23.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
#import <Foundation/Foundation.h>
|
|
10
|
+
#import <CoreLocation/CLAvailability.h>
|
|
11
|
+
#import <CoreLocation/CLCondition.h>
|
|
12
|
+
|
|
13
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
14
|
+
|
|
15
|
+
@class CLLocationManager;
|
|
16
|
+
@class CLMonitor;
|
|
17
|
+
@class CLMonitoringEvent;
|
|
18
|
+
/*
|
|
19
|
+
* `CLMonitorConfiguration` describes the configuration with which a `CLMonitor`
|
|
20
|
+
* instance can be created.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
|
|
24
|
+
CL_EXTERN
|
|
25
|
+
API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos, visionos)
|
|
26
|
+
@interface CLMonitorConfiguration : NSObject
|
|
27
|
+
|
|
28
|
+
/*
|
|
29
|
+
* name
|
|
30
|
+
*
|
|
31
|
+
* Discussion:
|
|
32
|
+
* Name of the Monitor instance to create or open.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
@property (readonly) NSString *name;
|
|
36
|
+
|
|
37
|
+
/*
|
|
38
|
+
* queue
|
|
39
|
+
*
|
|
40
|
+
* Discussion:
|
|
41
|
+
* Dispatch queue to which the instance of `CLMonitor` will be bound.
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
@property (readonly) dispatch_queue_t queue;
|
|
45
|
+
|
|
46
|
+
/*
|
|
47
|
+
* handler
|
|
48
|
+
*
|
|
49
|
+
* Discussion:
|
|
50
|
+
* Handler block which will be used as the event handler for the `CLMonitor` instance.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
@property (readonly, nonatomic) void(^eventHandler)(CLMonitor *monitor, CLMonitoringEvent *event);
|
|
54
|
+
|
|
55
|
+
/*
|
|
56
|
+
* Returns a configuration object which may be used to create or open
|
|
57
|
+
* an instance of `CLMonitor`.
|
|
58
|
+
*
|
|
59
|
+
* name : Identifies the instance of `CLMonitor` which should be created or opened.
|
|
60
|
+
* `name` should contain only alpha-numeric characters and cannot start with "_".
|
|
61
|
+
* queue : Dispatch queue which should be used to synchronize access to the CLMonitor instance.
|
|
62
|
+
* All interactions related to the `CLMonitor` instance should be performed on this queue.
|
|
63
|
+
* Events generated by the `CLMonitor` instance will be delivered to the handler on this queue.
|
|
64
|
+
* Accessing `CLMonitor` outside of the queue will result in undefined behavior.
|
|
65
|
+
* handler : The callback handler to be submitted to `queue`
|
|
66
|
+
* for each event.
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
+ (CLMonitorConfiguration *)configWithMonitorName:(NSString *)name
|
|
71
|
+
queue:(dispatch_queue_t)queue
|
|
72
|
+
eventHandler:(void(^)(CLMonitor *monitor, CLMonitoringEvent *event))eventHandler;
|
|
73
|
+
|
|
74
|
+
@end
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CLMonitoringEvent.h
|
|
3
|
+
// CoreLocation
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2021 Apple Inc. All rights reserved.
|
|
6
|
+
|
|
7
|
+
#ifndef CLMonitoringEvent_h
|
|
8
|
+
#define CLMonitoringEvent_h
|
|
9
|
+
|
|
10
|
+
#import <CoreLocation/CLAvailability.h>
|
|
11
|
+
|
|
12
|
+
@class CLCondition;
|
|
13
|
+
|
|
14
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Enum representing the current state of the condition.
|
|
18
|
+
*/
|
|
19
|
+
typedef NS_ENUM(NSUInteger, CLMonitoringState) {
|
|
20
|
+
CLMonitoringStateUnknown,
|
|
21
|
+
CLMonitoringStateSatisfied,
|
|
22
|
+
CLMonitoringStateUnsatisfied,
|
|
23
|
+
CLMonitoringStateUnmonitored API_AVAILABLE(macos(14.2), ios(17.2)) API_UNAVAILABLE(tvos, watchos, visionos),
|
|
24
|
+
} NS_REFINED_FOR_SWIFT;
|
|
25
|
+
|
|
26
|
+
/*
|
|
27
|
+
* Event object that would be passed to the callback handler upon an event
|
|
28
|
+
*
|
|
29
|
+
* Discussion:
|
|
30
|
+
* Instances of `CLMonitoringEvent` contain detailed information about
|
|
31
|
+
* an event in the monitoring of a `CLCondition` by a `CLMonitor`.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
NS_REFINED_FOR_SWIFT
|
|
35
|
+
CL_EXTERN
|
|
36
|
+
API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos, visionos)
|
|
37
|
+
@interface CLMonitoringEvent : NSObject<NSSecureCoding>
|
|
38
|
+
|
|
39
|
+
/*
|
|
40
|
+
* identifier
|
|
41
|
+
*
|
|
42
|
+
* Discussion:
|
|
43
|
+
* An `NSString` representing the identifier under which the condition
|
|
44
|
+
* was added for monitoring.
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
@property (readonly, strong) NSString *identifier;
|
|
48
|
+
|
|
49
|
+
/*
|
|
50
|
+
* refinement
|
|
51
|
+
*
|
|
52
|
+
* Discussion:
|
|
53
|
+
* An optional instance of CLCondition that represents the most specific
|
|
54
|
+
* condition to which this event could apply. The type of the refinement
|
|
55
|
+
* condition depends onthe monitored condition itself.
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
@property (readonly, strong) __kindof CLCondition * _Nullable refinement;
|
|
59
|
+
|
|
60
|
+
/*
|
|
61
|
+
* state
|
|
62
|
+
*
|
|
63
|
+
* Discussion:
|
|
64
|
+
* State of the condition at the time of the event.
|
|
65
|
+
*/
|
|
66
|
+
@property (readonly, nonatomic) CLMonitoringState state;
|
|
67
|
+
|
|
68
|
+
/*
|
|
69
|
+
* date
|
|
70
|
+
*
|
|
71
|
+
* Discussion:
|
|
72
|
+
* An instance of NSDate indicating the time of the event.
|
|
73
|
+
*/
|
|
74
|
+
@property (readonly, strong) NSDate *date;
|
|
75
|
+
|
|
76
|
+
/*
|
|
77
|
+
* authorizationDenied
|
|
78
|
+
*
|
|
79
|
+
* Discussion:
|
|
80
|
+
* True if events will be suspended while the app has been denied
|
|
81
|
+
* location authorization.
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
@property (nonatomic, readonly) BOOL authorizationDenied API_AVAILABLE(macos(15.0), ios(18.0)) API_UNAVAILABLE(watchos, tvos);
|
|
85
|
+
|
|
86
|
+
/*
|
|
87
|
+
* authorizationDeniedGlobally
|
|
88
|
+
*
|
|
89
|
+
* Discussion:
|
|
90
|
+
* True if events will be suspended while the user has disabled Location
|
|
91
|
+
* Services system-wide.
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
@property (nonatomic, readonly) BOOL authorizationDeniedGlobally API_AVAILABLE(macos(15.0), ios(18.0)) API_UNAVAILABLE(watchos, tvos);
|
|
95
|
+
|
|
96
|
+
/*
|
|
97
|
+
* authorizationRestricted
|
|
98
|
+
*
|
|
99
|
+
* Discussion:
|
|
100
|
+
* True if events will be suspended while the app lacks authorization,
|
|
101
|
+
* and authorization changes are prevented by parental restrictions,
|
|
102
|
+
* MDM configuration, or other factors.
|
|
103
|
+
*
|
|
104
|
+
*/
|
|
105
|
+
@property (nonatomic, readonly) BOOL authorizationRestricted API_AVAILABLE(macos(15.0), ios(18.0)) API_UNAVAILABLE(watchos, tvos);
|
|
106
|
+
|
|
107
|
+
/*
|
|
108
|
+
* insufficientlyInUse
|
|
109
|
+
*
|
|
110
|
+
* Discussion:
|
|
111
|
+
* True if events will be suspended while the app is not sufficiently
|
|
112
|
+
* in-use.
|
|
113
|
+
*
|
|
114
|
+
*/
|
|
115
|
+
@property (nonatomic, readonly) BOOL insufficientlyInUse API_AVAILABLE(macos(15.0), ios(18.0)) API_UNAVAILABLE(watchos, tvos);
|
|
116
|
+
|
|
117
|
+
/*
|
|
118
|
+
* accuracyLimited
|
|
119
|
+
*
|
|
120
|
+
* Discussion:
|
|
121
|
+
* True if events will not be delivered because the app is subject
|
|
122
|
+
* to accuracy limitation.
|
|
123
|
+
*
|
|
124
|
+
*/
|
|
125
|
+
@property (nonatomic, readonly) BOOL accuracyLimited API_AVAILABLE(macos(15.0), ios(18.0)) API_UNAVAILABLE(watchos, tvos);
|
|
126
|
+
|
|
127
|
+
/*
|
|
128
|
+
* conditionUnsupported
|
|
129
|
+
*
|
|
130
|
+
* Discussion:
|
|
131
|
+
* True if events will be suspended for this condition because
|
|
132
|
+
* monitoring is not supported for conditions of its type.
|
|
133
|
+
*
|
|
134
|
+
*/
|
|
135
|
+
@property (nonatomic, readonly) BOOL conditionUnsupported API_AVAILABLE(macos(15.0), ios(18.0)) API_UNAVAILABLE(watchos, tvos);
|
|
136
|
+
|
|
137
|
+
/*
|
|
138
|
+
* conditionLimitExceeded
|
|
139
|
+
*
|
|
140
|
+
* Discussion:
|
|
141
|
+
* True if events will be suspended for this condition while the app
|
|
142
|
+
* has too many other conditions of this type monitored.
|
|
143
|
+
*
|
|
144
|
+
*/
|
|
145
|
+
@property (nonatomic, readonly) BOOL conditionLimitExceeded API_AVAILABLE(macos(15.0), ios(18.0)) API_UNAVAILABLE(watchos, tvos);
|
|
146
|
+
|
|
147
|
+
/*
|
|
148
|
+
* persistenceUnavailable
|
|
149
|
+
*
|
|
150
|
+
* Discussion:
|
|
151
|
+
* True if monitoring is not possible due to persistence failure.
|
|
152
|
+
* Some or all properties of the condition, if identified, or all conditions,
|
|
153
|
+
* and events associated with the monitoring of affected conditions may not
|
|
154
|
+
* be stored persistently.
|
|
155
|
+
*
|
|
156
|
+
*/
|
|
157
|
+
@property (nonatomic, readonly) BOOL persistenceUnavailable API_AVAILABLE(macos(15.0), ios(18.0)) API_UNAVAILABLE(watchos, tvos);
|
|
158
|
+
|
|
159
|
+
/*
|
|
160
|
+
* serviceSessionRequired
|
|
161
|
+
*
|
|
162
|
+
* Discussion:
|
|
163
|
+
* True if LocationServices are disabled because the app has adopted CLRequireExplicitServiceSession
|
|
164
|
+
* info.plist key but no CLServiceSession requiring authorization is outstanding yet.
|
|
165
|
+
*
|
|
166
|
+
*/
|
|
167
|
+
@property (nonatomic, readonly) BOOL serviceSessionRequired API_AVAILABLE(macos(15.0), ios(18.0)) API_UNAVAILABLE(watchos, tvos);
|
|
168
|
+
|
|
169
|
+
/*
|
|
170
|
+
* authorizationRequestInProgress
|
|
171
|
+
*
|
|
172
|
+
* Discussion:
|
|
173
|
+
* True if the system is requesting authorization from the user on behalf of the app, but no response has been received yet.
|
|
174
|
+
*
|
|
175
|
+
*/
|
|
176
|
+
@property (nonatomic, readonly) BOOL authorizationRequestInProgress API_AVAILABLE(macos(15.0), ios(18.0)) API_UNAVAILABLE(watchos, tvos);
|
|
177
|
+
|
|
178
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
179
|
+
+ (instancetype)new NS_UNAVAILABLE;
|
|
180
|
+
|
|
181
|
+
@end
|
|
182
|
+
|
|
183
|
+
NS_ASSUME_NONNULL_END
|
|
184
|
+
#endif /* CLMonitoringEvent_h */
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CLMonitoringRecord.h
|
|
3
|
+
// CoreLocation
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2021 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
#pragma once
|
|
8
|
+
|
|
9
|
+
#import <Foundation/Foundation.h>
|
|
10
|
+
#import <CoreLocation/CLAvailability.h>
|
|
11
|
+
#import <CoreLocation/CLCondition.h>
|
|
12
|
+
#import <CoreLocation/CLMonitoringEvent.h>
|
|
13
|
+
|
|
14
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* `CLMonitoringRecord` represents a condition and its associated information
|
|
18
|
+
* as monitored by a `CLMonitor`
|
|
19
|
+
*
|
|
20
|
+
* Discussion:
|
|
21
|
+
* `CLMonitoringRecord` contains a condition and last event that affected it.
|
|
22
|
+
*
|
|
23
|
+
* When handling a new `CLMonitoringEvent`, the `CLMonitoringRecord`
|
|
24
|
+
* available for the indicated identifier from the `CLMonitor` will contain
|
|
25
|
+
* the prior event. The `CLMonitoringRecord` will be updated with the new
|
|
26
|
+
* event once the handling is complete.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
NS_REFINED_FOR_SWIFT
|
|
30
|
+
CL_EXTERN
|
|
31
|
+
API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos, visionos)
|
|
32
|
+
@interface CLMonitoringRecord : NSObject<NSSecureCoding>
|
|
33
|
+
|
|
34
|
+
/*
|
|
35
|
+
* condition
|
|
36
|
+
*
|
|
37
|
+
* Discussion:
|
|
38
|
+
* The condition for which events are being monitored.
|
|
39
|
+
*/
|
|
40
|
+
@property (readonly, strong) __kindof CLCondition *condition;
|
|
41
|
+
|
|
42
|
+
/*
|
|
43
|
+
* lastEvent
|
|
44
|
+
*
|
|
45
|
+
* Discussion:
|
|
46
|
+
* Contains the specifics of the last event such as state, date and the
|
|
47
|
+
* specifics of the condition, if applicable.
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
@property (readonly, strong) CLMonitoringEvent *lastEvent;
|
|
51
|
+
|
|
52
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
53
|
+
+ (instancetype)new NS_UNAVAILABLE;
|
|
54
|
+
|
|
55
|
+
@end
|
|
56
|
+
|
|
57
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* CLPlacemark.h
|
|
3
|
+
* CoreLocation
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2010 Apple Inc. All rights reserved.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
#import <CoreLocation/CLAvailability.h>
|
|
10
|
+
|
|
11
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
+
|
|
13
|
+
@class CLLocation;
|
|
14
|
+
@class CLRegion;
|
|
15
|
+
@class CLPlacemarkInternal;
|
|
16
|
+
@class CNPostalAddress;
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
/*
|
|
20
|
+
* CLPlacemark
|
|
21
|
+
*
|
|
22
|
+
* Discussion:
|
|
23
|
+
* Represents placemark data for a geographic location. Placemark data can be
|
|
24
|
+
* information such as the country, state, city, and street address.
|
|
25
|
+
*/
|
|
26
|
+
CL_EXTERN
|
|
27
|
+
NS_SWIFT_SENDABLE API_DEPRECATED("Use either GeoToolbox.PlaceDescriptor or MapKit", ios(5.0, API_TO_BE_DEPRECATED), macos(10.8, API_TO_BE_DEPRECATED))
|
|
28
|
+
@interface CLPlacemark : NSObject <NSCopying, NSSecureCoding>
|
|
29
|
+
{
|
|
30
|
+
@private
|
|
31
|
+
CLPlacemarkInternal *_internal;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
- (instancetype)init API_UNAVAILABLE(ios, macos, tvos, watchos);
|
|
35
|
+
+ (instancetype)new API_UNAVAILABLE(ios, macos, tvos, watchos);
|
|
36
|
+
|
|
37
|
+
/*
|
|
38
|
+
* initWithPlacemark:
|
|
39
|
+
*
|
|
40
|
+
* Discussion:
|
|
41
|
+
* Initialize a newly allocated placemark from another placemark, copying its data.
|
|
42
|
+
*/
|
|
43
|
+
- (instancetype)initWithPlacemark:(CLPlacemark *) placemark;
|
|
44
|
+
|
|
45
|
+
/*
|
|
46
|
+
* location
|
|
47
|
+
*
|
|
48
|
+
* Discussion:
|
|
49
|
+
* Returns the geographic location associated with the placemark.
|
|
50
|
+
*/
|
|
51
|
+
@property (nonatomic, readonly, copy, nullable) CLLocation *location;
|
|
52
|
+
|
|
53
|
+
/*
|
|
54
|
+
* region
|
|
55
|
+
*
|
|
56
|
+
* Discussion:
|
|
57
|
+
* Returns the geographic region associated with the placemark.
|
|
58
|
+
*/
|
|
59
|
+
@property (nonatomic, readonly, copy, nullable) CLRegion *region API_UNAVAILABLE(visionos);
|
|
60
|
+
|
|
61
|
+
/*
|
|
62
|
+
* timeZone
|
|
63
|
+
*
|
|
64
|
+
* Discussion:
|
|
65
|
+
* Returns the time zone associated with the placemark.
|
|
66
|
+
*/
|
|
67
|
+
@property (nonatomic, readonly, copy, nullable) NSTimeZone *timeZone NS_AVAILABLE(10_11,9_0);
|
|
68
|
+
|
|
69
|
+
/*
|
|
70
|
+
* addressDictionary
|
|
71
|
+
*
|
|
72
|
+
* Discussion:
|
|
73
|
+
* This dictionary can be formatted as an address using ABCreateStringWithAddressDictionary,
|
|
74
|
+
* defined in the AddressBookUI framework.
|
|
75
|
+
*/
|
|
76
|
+
@property (nonatomic, readonly, copy, nullable) NSDictionary *addressDictionary API_DEPRECATED("Use @properties", macos(10.8, 10.13), ios(5.0, 11.0), watchos(1.0, 4.0)) API_UNAVAILABLE(visionos);
|
|
77
|
+
|
|
78
|
+
// address dictionary properties
|
|
79
|
+
@property (nonatomic, readonly, copy, nullable) NSString *name; // eg. Apple Inc.
|
|
80
|
+
@property (nonatomic, readonly, copy, nullable) NSString *thoroughfare; // street name, eg. Infinite Loop
|
|
81
|
+
@property (nonatomic, readonly, copy, nullable) NSString *subThoroughfare; // eg. 1
|
|
82
|
+
@property (nonatomic, readonly, copy, nullable) NSString *locality; // city, eg. Cupertino
|
|
83
|
+
@property (nonatomic, readonly, copy, nullable) NSString *subLocality; // neighborhood, common name, eg. Mission District
|
|
84
|
+
@property (nonatomic, readonly, copy, nullable) NSString *administrativeArea; // state, eg. CA
|
|
85
|
+
@property (nonatomic, readonly, copy, nullable) NSString *subAdministrativeArea; // county, eg. Santa Clara
|
|
86
|
+
@property (nonatomic, readonly, copy, nullable) NSString *postalCode; // zip code, eg. 95014
|
|
87
|
+
@property (nonatomic, readonly, copy, nullable) NSString *ISOcountryCode; // eg. US
|
|
88
|
+
@property (nonatomic, readonly, copy, nullable) NSString *country; // eg. United States
|
|
89
|
+
@property (nonatomic, readonly, copy, nullable) NSString *inlandWater; // eg. Lake Tahoe
|
|
90
|
+
@property (nonatomic, readonly, copy, nullable) NSString *ocean; // eg. Pacific Ocean
|
|
91
|
+
@property (nonatomic, readonly, copy, nullable) NSArray<NSString *> *areasOfInterest; // eg. Golden Gate Park
|
|
92
|
+
@end
|
|
93
|
+
|
|
94
|
+
@interface CLPlacemark (ContactsAdditions)
|
|
95
|
+
@property (nonatomic, nullable, readonly) CNPostalAddress *postalAddress API_DEPRECATED("Use either GeoToolbox.PlaceDescriptor or MapKit", macos(10.13, API_TO_BE_DEPRECATED), ios(11.0, API_TO_BE_DEPRECATED), watchos(4.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(tvos);
|
|
96
|
+
@end
|
|
97
|
+
|
|
98
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* CLRegion.h
|
|
3
|
+
* CoreLocation
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2009-2010 Apple Inc. All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
#import <Foundation/Foundation.h>
|
|
10
|
+
#import <CoreLocation/CLLocation.h>
|
|
11
|
+
#import <CoreLocation/CLAvailability.h>
|
|
12
|
+
|
|
13
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
14
|
+
|
|
15
|
+
/*
|
|
16
|
+
* CLRegionState
|
|
17
|
+
*
|
|
18
|
+
* Discussion:
|
|
19
|
+
* Represents the current state of the device with reference to a region.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
typedef NS_CLOSED_ENUM(NSInteger, CLRegionState) {
|
|
23
|
+
CLRegionStateUnknown,
|
|
24
|
+
CLRegionStateInside,
|
|
25
|
+
CLRegionStateOutside
|
|
26
|
+
} API_AVAILABLE(macos(10.10), ios(7.0)) API_UNAVAILABLE(watchos, tvos, visionos);
|
|
27
|
+
|
|
28
|
+
/*
|
|
29
|
+
* CLProximity
|
|
30
|
+
*
|
|
31
|
+
* Discussion:
|
|
32
|
+
* Represents the current proximity of an entity.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
typedef NS_ENUM(NSInteger, CLProximity) {
|
|
36
|
+
CLProximityUnknown,
|
|
37
|
+
CLProximityImmediate,
|
|
38
|
+
CLProximityNear,
|
|
39
|
+
CLProximityFar
|
|
40
|
+
} API_AVAILABLE(ios(7.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos);
|
|
41
|
+
|
|
42
|
+
/*
|
|
43
|
+
* CLRegion
|
|
44
|
+
*
|
|
45
|
+
* Discussion:
|
|
46
|
+
* A logical area.
|
|
47
|
+
*/
|
|
48
|
+
CL_EXTERN
|
|
49
|
+
API_AVAILABLE(macos(10.7), ios(4.0)) API_UNAVAILABLE(visionos)
|
|
50
|
+
@interface CLRegion : NSObject <NSCopying, NSSecureCoding>
|
|
51
|
+
/*
|
|
52
|
+
* initCircularRegionWithCenter:radius:identifier:
|
|
53
|
+
*
|
|
54
|
+
* Discussion:
|
|
55
|
+
* Initialize a region. center gives the coordinates of center of the region, while radius gives
|
|
56
|
+
* the distance in meters between the center and the region's boundary. identifier is a description
|
|
57
|
+
* for the region that could be displayed to the user, and ideally should be chosen by the user.
|
|
58
|
+
*
|
|
59
|
+
* This method has been deprecated, please see CLCircularRegion.
|
|
60
|
+
*/
|
|
61
|
+
- (instancetype)initCircularRegionWithCenter:(CLLocationCoordinate2D)center
|
|
62
|
+
radius:(CLLocationDistance)radius
|
|
63
|
+
identifier:(NSString *)identifier API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos, visionos);
|
|
64
|
+
|
|
65
|
+
/*
|
|
66
|
+
* center
|
|
67
|
+
*
|
|
68
|
+
* Discussion:
|
|
69
|
+
* Returns the coordinate of the center of the region.
|
|
70
|
+
*
|
|
71
|
+
* This method has been deprecated, please see CLCircularRegion.
|
|
72
|
+
*/
|
|
73
|
+
@property (readonly, atomic) CLLocationCoordinate2D center API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos, visionos);
|
|
74
|
+
|
|
75
|
+
/*
|
|
76
|
+
* radius
|
|
77
|
+
*
|
|
78
|
+
* Discussion:
|
|
79
|
+
* Returns the radius of the region.
|
|
80
|
+
*
|
|
81
|
+
* This method has been deprecated, please see CLCircularRegion.
|
|
82
|
+
*/
|
|
83
|
+
@property (readonly, atomic) CLLocationDistance radius API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos, visionos);
|
|
84
|
+
|
|
85
|
+
/*
|
|
86
|
+
* identifier
|
|
87
|
+
*
|
|
88
|
+
* Discussion:
|
|
89
|
+
* Returns the region's identifier.
|
|
90
|
+
*/
|
|
91
|
+
@property (readonly, nonatomic, copy) NSString *identifier API_AVAILABLE(ios(4.0), macos(10.7));
|
|
92
|
+
|
|
93
|
+
/*
|
|
94
|
+
* notifyOnEntry
|
|
95
|
+
*
|
|
96
|
+
* Discussion:
|
|
97
|
+
* App will be launched and the delegate will be notified via locationManager:didEnterRegion:
|
|
98
|
+
* when the user enters the region. By default, this is YES.
|
|
99
|
+
*/
|
|
100
|
+
@property (atomic, assign) BOOL notifyOnEntry API_AVAILABLE(ios(7.0), macos(10.10));
|
|
101
|
+
|
|
102
|
+
/*
|
|
103
|
+
* notifyOnExit
|
|
104
|
+
*
|
|
105
|
+
* Discussion:
|
|
106
|
+
* App will be launched and the delegate will be notified via locationManager:didExitRegion:
|
|
107
|
+
* when the user exits the region. By default, this is YES.
|
|
108
|
+
*/
|
|
109
|
+
@property (atomic, assign) BOOL notifyOnExit API_AVAILABLE(ios(7.0), macos(10.10));
|
|
110
|
+
|
|
111
|
+
/*
|
|
112
|
+
* containsCoordinate:
|
|
113
|
+
*
|
|
114
|
+
* Discussion:
|
|
115
|
+
* Returns YES if the coordinate lies inside the region, and NO otherwise.
|
|
116
|
+
*
|
|
117
|
+
* This method has been deprecated, please see CLCircularRegion.
|
|
118
|
+
*/
|
|
119
|
+
- (BOOL)containsCoordinate:(CLLocationCoordinate2D)coordinate API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos, visionos);
|
|
120
|
+
|
|
121
|
+
@end
|
|
122
|
+
|
|
123
|
+
NS_ASSUME_NONNULL_END
|