peachsim 0.1.1692 → 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.
Files changed (245) hide show
  1. package/cli/bridge-flow-runner.ts +61 -39
  2. package/cli/commands/agent-wrapper.ts +21 -10
  3. package/cli/commands/control.ts +27 -7
  4. package/cli/commands/coverage.ts +1 -1
  5. package/cli/commands/detect.ts +17 -4
  6. package/cli/commands/maestro-compare.ts +25 -99
  7. package/cli/help-core.ts +3 -4
  8. package/cli/maestro-compare.ts +172 -4
  9. package/cli/outbound-endpoints.ts +2 -10
  10. package/detox/index.ts +15 -0
  11. package/detox/launch-permissions.ts +169 -0
  12. package/dist-lib/agent-daemon-client.cjs +2 -2
  13. package/dist-lib/agent-events.cjs +2 -2
  14. package/dist-lib/attached-projects.cjs +2 -2
  15. package/dist-lib/auth/shared-session.cjs +2 -2
  16. package/dist-lib/backend-origin.cjs +2 -2
  17. package/dist-lib/beta.cjs +2 -2
  18. package/dist-lib/beta.mjs +1 -1
  19. package/dist-lib/bridge-constants.cjs +2 -2
  20. package/dist-lib/bridge-contract-input.cjs +2 -2
  21. package/dist-lib/bridge-contract-input.mjs +1 -1
  22. package/dist-lib/bridge-contract.cjs +2 -2
  23. package/dist-lib/bridge-contract.mjs +1 -1
  24. package/dist-lib/bundle-channel.cjs +18273 -15925
  25. package/dist-lib/capture-contract.cjs +2 -2
  26. package/dist-lib/capture-contract.mjs +1 -1
  27. package/dist-lib/cloud-contract.cjs +2 -2
  28. package/dist-lib/cloud-contract.mjs +1 -1
  29. package/dist-lib/cloud-test-args.cjs +2 -2
  30. package/dist-lib/cloud-test-args.mjs +1 -1
  31. package/dist-lib/cloud.cjs +2 -2
  32. package/dist-lib/cloud.mjs +1 -1
  33. package/dist-lib/config.cjs +2 -2
  34. package/dist-lib/config.mjs +1 -1
  35. package/dist-lib/detox/index.cjs +104 -3
  36. package/dist-lib/dev-bundle-resolution.cjs +208 -44
  37. package/dist-lib/expo-swift-bundle.cjs +2349 -1778
  38. package/dist-lib/expo-swift-metadata.cjs +2 -2
  39. package/dist-lib/expo-swift-metadata.mjs +1 -1
  40. package/dist-lib/home-paths.cjs +2 -2
  41. package/dist-lib/host/bridge-host.cjs +7885 -3334
  42. package/dist-lib/host/fetch-proxy-handler.cjs +331 -39
  43. package/dist-lib/host/fetch-proxy-overrides.cjs +2 -2
  44. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  45. package/dist-lib/host/replacement-module-handler.cjs +2 -2
  46. package/dist-lib/host/websocket-proxy.cjs +2 -2
  47. package/dist-lib/index.cjs +297 -77
  48. package/dist-lib/jump-to-source-babel.cjs +2 -2
  49. package/dist-lib/jump-to-source-native.cjs +2 -2
  50. package/dist-lib/kotlin-host.cjs +2 -2
  51. package/dist-lib/menu.cjs +2 -2
  52. package/dist-lib/menu.mjs +1 -1
  53. package/dist-lib/metro-fingerprint-registry.cjs +2 -2
  54. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  55. package/dist-lib/metro-production-bundle.cjs +2 -2
  56. package/dist-lib/metro-production-bundle.mjs +1 -1
  57. package/dist-lib/metro.cjs +294 -74
  58. package/dist-lib/native-app-identity-project.cjs +48 -37
  59. package/dist-lib/native-app-identity-project.mjs +47 -36
  60. package/dist-lib/native-app-identity.cjs +2 -2
  61. package/dist-lib/native-app-identity.mjs +1 -1
  62. package/dist-lib/native-firebase-metadata.cjs +2 -2
  63. package/dist-lib/native-firebase-metadata.mjs +1 -1
  64. package/dist-lib/plist.cjs +2 -2
  65. package/dist-lib/plist.mjs +1 -1
  66. package/dist-lib/profiles.cjs +2 -2
  67. package/dist-lib/public-brand.cjs +2 -2
  68. package/dist-lib/public-origins-lib-esm.json +24 -23
  69. package/dist-lib/public-origins-lib.json +199 -79
  70. package/dist-lib/react-native-host-modules.cjs +2 -2
  71. package/dist-lib/react-native-host-modules.mjs +1 -1
  72. package/dist-lib/reap-browser.cjs +2 -2
  73. package/dist-lib/scripts/dev-server-scanner.cjs +206 -31
  74. package/dist-lib/sdk.cjs +2 -2
  75. package/dist-lib/sdk.mjs +1 -1
  76. package/dist-lib/skills.cjs +19600 -15992
  77. package/dist-lib/swift-compile.cjs +640 -402
  78. package/dist-lib/swift-compile.mjs +595 -357
  79. package/dist-lib/swift-package.cjs +24 -20
  80. package/dist-lib/swift-package.mjs +23 -19
  81. package/dist-lib/swift-submit.cjs +2 -2
  82. package/dist-lib/swift-submit.mjs +1 -1
  83. package/dist-lib/swift-toolchain.cjs +31 -4
  84. package/dist-lib/swift.cjs +2 -2
  85. package/dist-lib/vite-swift.cjs +1559 -1208
  86. package/dist-lib/vite.cjs +251 -42
  87. package/dist-lib/worklet-executable.cjs +2 -2
  88. package/dist-lib/worklet-executable.mjs +1 -1
  89. package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +1 -1
  90. package/dist-types/packages/peach-engine/src/engine/node.d.ts +1 -0
  91. package/dist-types/packages/peach-engine/src/engine/scroll-pan-contacts.d.ts +3 -1
  92. package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +7 -0
  93. package/dist-types/packages/peach-engine/src/engine/types.d.ts +2 -1
  94. package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +2 -2
  95. package/dist-types/packages/peach-engine/src/render-worker/host-service-protocol.d.ts +3 -0
  96. package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +1 -0
  97. package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +17 -0
  98. package/dist-types/packages/peach-engine/src/render-worker/worker-input-runtime.d.ts +2 -1
  99. package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +3 -0
  100. package/dist-types/packages/peach-globals/src/cameraBridgeContract.d.ts +1 -0
  101. package/dist-types/packages/peach-globals/src/replayBridgeContract.d.ts +1 -0
  102. package/dist-types/packages/peach-globals/src/shellHostBridgeContract.d.ts +3 -0
  103. package/dist-types/packages/peach-kit/src/materials/types.d.ts +1 -0
  104. package/package.json +1 -1
  105. package/runtime-companion.json +1 -1
  106. package/scripts/dev-server-scanner.ts +4 -0
  107. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Alpha.h +2282 -0
  108. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/BasicImageTypes.h +55 -0
  109. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h +10551 -6
  110. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Convolution.h +4236 -3
  111. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h +827 -8
  112. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Histogram.h +1369 -0
  113. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Morphology.h +1243 -0
  114. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Transform.h +1747 -0
  115. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage.h +291 -2
  116. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_CVUtilities.h +1283 -0
  117. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h +811 -91
  118. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Utilities.h +1342 -25
  119. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns.h +2738 -0
  120. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_constants.h +1685 -0
  121. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_graph.h +913 -0
  122. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_structures.h +1917 -0
  123. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h +23 -0
  124. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/arithmetic.h +209 -0
  125. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/base.h +104 -0
  126. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/linear_systems.h +77 -0
  127. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/matrix.h +554 -0
  128. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/norms.h +58 -0
  129. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/object.h +186 -0
  130. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/splat.h +86 -0
  131. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/vector.h +364 -0
  132. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Quadrature/Integration.h +195 -0
  133. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Quadrature/Quadrature.h +44 -0
  134. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/BLAS/BLAS.h +2330 -0
  135. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/BLAS/Types.h +123 -0
  136. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/Solve.h +8339 -0
  137. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/SolveImplementation.h +520 -0
  138. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/SolveImplementationTyped.h +1893 -0
  139. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/Sparse.h +10 -0
  140. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/blas_new.h +1098 -0
  141. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/cblas.h +859 -0
  142. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/cblas_new.h +1134 -0
  143. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/clapack.h +10555 -0
  144. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/fortran_blas.h +695 -0
  145. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack.h +38526 -0
  146. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack_types.h +60 -0
  147. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack_version.h +20 -0
  148. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/thread_api.h +50 -0
  149. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vBasicOps.h +1218 -0
  150. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vBigNum.h +1458 -0
  151. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vDSP.h +10377 -0
  152. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vDSP_translate.h +167 -0
  153. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vForce.h +1243 -0
  154. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vecLib.h +114 -0
  155. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vecLibTypes.h +146 -0
  156. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vectorOps.h +1106 -0
  157. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vfp.h +294 -0
  158. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h +25 -1
  159. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h +673 -0
  160. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h +232 -0
  161. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h +827 -0
  162. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h +121 -0
  163. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h +387 -0
  164. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h +79 -0
  165. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h +122 -0
  166. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h +674 -0
  167. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h +182 -0
  168. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h +213 -0
  169. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h +82 -0
  170. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h +129 -0
  171. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h +491 -0
  172. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h +883 -2
  173. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h +98 -0
  174. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +11 -229
  175. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h +2 -6
  176. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +2 -1
  177. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h +1 -0
  178. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecBase.h +906 -3
  179. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h +613 -0
  180. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecItem.h +1284 -29
  181. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h +441 -0
  182. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecTrust.h +845 -0
  183. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/Security.h +4 -0
  184. package/sdk/ios/usr/include/AvailabilityMacros.h +3985 -0
  185. package/sdk/ios/usr/include/copyfile.h +143 -0
  186. package/sdk/ios/usr/include/malloc/_malloc.h +143 -0
  187. package/sdk/ios/usr/include/malloc/_malloc_type.h +153 -0
  188. package/sdk/ios/usr/include/malloc/_platform.h +80 -0
  189. package/sdk/ios/usr/include/malloc/_ptrcheck.h +43 -0
  190. package/sdk/ios/usr/include/malloc/malloc.h +768 -0
  191. package/sdk/ios/usr/include/os/availability.h +168 -6
  192. package/sdk/ios/usr/include/os/base.h +351 -0
  193. package/sdk/ios/usr/include/os/clock.h +18 -0
  194. package/sdk/ios/usr/include/os/lock.h +232 -10
  195. package/sdk/ios/usr/include/os/log.h +521 -38
  196. package/sdk/ios/usr/include/os/object.h +320 -3
  197. package/sdk/ios/usr/include/os/trace.h +492 -0
  198. package/sdk/ios/usr/include/os/trace_base.h +167 -0
  199. package/sdk/ios/usr/include/os/workgroup.h +37 -0
  200. package/sdk/ios/usr/include/os/workgroup_base.h +91 -0
  201. package/sdk/ios/usr/include/os/workgroup_interval.h +156 -0
  202. package/sdk/ios/usr/include/os/workgroup_object.h +359 -0
  203. package/sdk/ios/usr/include/os/workgroup_parallel.h +76 -0
  204. package/sdk/ios/usr/include/sys/cdefs.h +38 -0
  205. package/sdk/ios/wasm/include/unistd.h +3 -0
  206. package/skills/contrast/SKILL.md +3 -0
  207. package/src/codex-client.ts +11 -6
  208. package/src/dev-bundle-resolution.ts +124 -48
  209. package/src/expo-native-workspace.ts +176 -0
  210. package/src/expo-swift-host.ts +161 -26
  211. package/src/expo-swift-ready.ts +14 -28
  212. package/src/expoSwiftContract.ts +4 -1
  213. package/src/generated/swift-c-predefines.json +68 -12
  214. package/src/host/bridge-host.ts +5 -0
  215. package/src/installed-package-versions.ts +14 -1
  216. package/src/metro-project-root.ts +44 -33
  217. package/src/native-app-identity-project.ts +1 -0
  218. package/src/nitro-adapter.lock.json +916 -10
  219. package/src/nitro-adapter.ts +33 -24
  220. package/src/nitro-bundle.ts +108 -22
  221. package/src/nitro-compile.ts +32 -5
  222. package/src/nitro-source.ts +13 -3
  223. package/src/nitroAdapterContract.ts +100 -20
  224. package/src/node-http-fetch.ts +116 -0
  225. package/src/packageVersionsContract.ts +46 -0
  226. package/src/serverDiscoveryContract.ts +1 -0
  227. package/src/settingsContract.ts +0 -30
  228. package/src/swift-binary-modules.ts +20 -5
  229. package/src/swift-compile.ts +168 -48
  230. package/src/swift-coverage/xcode-assets.ts +4 -3
  231. package/src/swift-host.ts +14 -3
  232. package/src/swift-objc-compile.ts +32 -5
  233. package/src/swift-objc-metadata.ts +2 -2
  234. package/src/swift-objc-platform.ts +2 -2
  235. package/src/swift-objc-standin.ts +43 -13
  236. package/src/swift-package.ts +33 -26
  237. package/src/swift-source-pods.ts +126 -41
  238. package/src/swift-standin-digest.ts +77 -0
  239. package/src/swift-standin-emit.ts +40 -4
  240. package/src/swift-standins.ts +68 -19
  241. package/src/swift-toolchain.ts +38 -0
  242. package/src/swiftContract.ts +8 -0
  243. package/src/vite-plugin.ts +0 -10
  244. package/src/xcode-project.ts +62 -42
  245. package/src/settings-flags.ts +0 -107
@@ -0,0 +1,98 @@
1
+ /* CFTimeZone.h
2
+ Copyright (c) 1998-2019, Apple Inc. and the Swift project authors
3
+
4
+ Portions Copyright (c) 2014-2019, Apple Inc. and the Swift project authors
5
+ Licensed under Apache License v2.0 with Runtime Library Exception
6
+ See http://swift.org/LICENSE.txt for license information
7
+ See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
8
+ */
9
+
10
+ #if !defined(__COREFOUNDATION_CFTIMEZONE__)
11
+ #define __COREFOUNDATION_CFTIMEZONE__ 1
12
+
13
+ #include <CoreFoundation/CFBase.h>
14
+ #include <CoreFoundation/CFArray.h>
15
+ #include <CoreFoundation/CFData.h>
16
+ #include <CoreFoundation/CFDate.h>
17
+ #include <CoreFoundation/CFDictionary.h>
18
+ #include <CoreFoundation/CFString.h>
19
+ #include <CoreFoundation/CFNotificationCenter.h>
20
+ #include <CoreFoundation/CFLocale.h>
21
+
22
+ CF_IMPLICIT_BRIDGING_ENABLED
23
+ CF_EXTERN_C_BEGIN
24
+
25
+ CF_EXPORT
26
+ CFTypeID CFTimeZoneGetTypeID(void);
27
+
28
+ CF_EXPORT
29
+ CFTimeZoneRef CFTimeZoneCopySystem(void);
30
+
31
+ CF_EXPORT
32
+ void CFTimeZoneResetSystem(void);
33
+
34
+ CF_EXPORT
35
+ CFTimeZoneRef CFTimeZoneCopyDefault(void);
36
+
37
+ CF_EXPORT
38
+ void CFTimeZoneSetDefault(CFTimeZoneRef tz);
39
+
40
+ CF_EXPORT
41
+ CFArrayRef CFTimeZoneCopyKnownNames(void);
42
+
43
+ CF_EXPORT
44
+ CFDictionaryRef CFTimeZoneCopyAbbreviationDictionary(void);
45
+
46
+ CF_EXPORT
47
+ void CFTimeZoneSetAbbreviationDictionary(CFDictionaryRef dict);
48
+
49
+ CF_EXPORT
50
+ CFTimeZoneRef CFTimeZoneCreate(CFAllocatorRef allocator, CFStringRef name, CFDataRef data);
51
+
52
+ CF_EXPORT
53
+ CFTimeZoneRef CFTimeZoneCreateWithTimeIntervalFromGMT(CFAllocatorRef allocator, CFTimeInterval ti);
54
+
55
+ CF_EXPORT
56
+ CFTimeZoneRef CFTimeZoneCreateWithName(CFAllocatorRef allocator, CFStringRef name, Boolean tryAbbrev);
57
+
58
+ CF_EXPORT
59
+ CFStringRef CFTimeZoneGetName(CFTimeZoneRef tz);
60
+
61
+ CF_EXPORT
62
+ CFDataRef CFTimeZoneGetData(CFTimeZoneRef tz);
63
+
64
+ CF_EXPORT
65
+ CFTimeInterval CFTimeZoneGetSecondsFromGMT(CFTimeZoneRef tz, CFAbsoluteTime at);
66
+
67
+ CF_EXPORT
68
+ CFStringRef CFTimeZoneCopyAbbreviation(CFTimeZoneRef tz, CFAbsoluteTime at);
69
+
70
+ CF_EXPORT
71
+ Boolean CFTimeZoneIsDaylightSavingTime(CFTimeZoneRef tz, CFAbsoluteTime at);
72
+
73
+ CF_EXPORT
74
+ CFTimeInterval CFTimeZoneGetDaylightSavingTimeOffset(CFTimeZoneRef tz, CFAbsoluteTime at) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
75
+
76
+ CF_EXPORT
77
+ CFAbsoluteTime CFTimeZoneGetNextDaylightSavingTimeTransition(CFTimeZoneRef tz, CFAbsoluteTime at) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
78
+
79
+ typedef CF_ENUM(CFIndex, CFTimeZoneNameStyle) {
80
+ kCFTimeZoneNameStyleStandard,
81
+ kCFTimeZoneNameStyleShortStandard,
82
+ kCFTimeZoneNameStyleDaylightSaving,
83
+ kCFTimeZoneNameStyleShortDaylightSaving,
84
+ kCFTimeZoneNameStyleGeneric,
85
+ kCFTimeZoneNameStyleShortGeneric
86
+ } API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
87
+
88
+ CF_EXPORT
89
+ CFStringRef CFTimeZoneCopyLocalizedName(CFTimeZoneRef tz, CFTimeZoneNameStyle style, CFLocaleRef locale) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
90
+
91
+ CF_EXPORT
92
+ const CFNotificationName kCFTimeZoneSystemTimeZoneDidChangeNotification API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
93
+
94
+ CF_EXTERN_C_END
95
+ CF_IMPLICIT_BRIDGING_DISABLED
96
+
97
+ #endif /* ! __COREFOUNDATION_CFTIMEZONE__ */
98
+
@@ -1,13 +1,5 @@
1
1
  #pragma once
2
- // CFBase.h reaches os/availability.h through CFAvailability.h.
3
- #include <os/availability.h>
4
- #ifndef CF_RETURNS_RETAINED
5
- #if __has_feature(attribute_cf_returns_retained)
6
- #define CF_RETURNS_RETAINED __attribute__((cf_returns_retained))
7
- #else
8
- #define CF_RETURNS_RETAINED
9
- #endif
10
- #endif
2
+ #include <CoreFoundation/CFAvailability.h>
11
3
  // darwin sys/cdefs.h spells these; the wasi libc has no such header.
12
4
  #ifndef __nullable
13
5
  #define __nullable _Nullable
@@ -15,115 +7,27 @@
15
7
  #define __null_unspecified _Null_unspecified
16
8
  #endif
17
9
  #if !defined(CF_EXCLUDE_CSTD_HEADERS)
18
- #include <sys/types.h>
19
10
  #include <stdarg.h>
20
- #include <assert.h>
21
- #include <ctype.h>
22
11
  #include <errno.h>
23
- #include <float.h>
24
- #include <limits.h>
25
- #include <locale.h>
26
12
  #include <math.h>
27
- #include <setjmp.h>
28
- #include <signal.h>
29
- #include <stddef.h>
30
- #include <stdio.h>
31
13
  #include <stdlib.h>
32
14
  #include <string.h>
33
- #include <time.h>
34
- #if defined(__STDC_VERSION__) && (199901L <= __STDC_VERSION__)
35
- #include <inttypes.h>
36
- #include <stdint.h>
37
- #endif
38
- #if defined(__STDC_VERSION__) && (199901L <= __STDC_VERSION__) && (__STDC_VERSION__ <= 201710L)
39
- #include <stdbool.h>
40
- #endif
41
15
  #endif
42
16
  #include <MacTypes.h>
43
- #include <TargetConditionals.h>
44
17
  #include <stdint.h>
45
18
  #include <stddef.h>
46
19
  #include <stdbool.h>
47
- #if !defined(CF_INLINE)
48
- #if defined(__GNUC__) && (__GNUC__ == 4) && !defined(DEBUG)
49
- #define CF_INLINE static __inline__ __attribute__((always_inline))
50
- #elif defined(__GNUC__)
51
- #define CF_INLINE static __inline__
52
- #elif defined(__cplusplus)
53
- #define CF_INLINE static inline
54
- #elif defined(_MSC_VER)
55
- #define CF_INLINE static __inline
56
- #elif TARGET_OS_WIN32
57
- #define CF_INLINE static __inline__
58
- #endif
59
- #endif
60
- typedef unsigned char Boolean;
61
- typedef unsigned char UInt8;
62
- typedef int32_t SInt32;
63
- typedef unsigned int UInt32;
64
- typedef SInt32 OSStatus;
65
- typedef unsigned long CFOptionFlags;
66
- typedef signed long CFIndex;
67
- #define CF_RELEASES_ARGUMENT __attribute__((cf_consumed))
68
- #define CF_ENUM_ATTRIBUTES_ __attribute__((enum_extensibility(open)))
69
- #define __PEACH_ENUM_GET(_1, _2, NAME, ...) NAME
70
- #ifndef CF_OPEN_SOURCE
71
- #define __CF_ENUM_FIXED_IS_AVAILABLE (__cplusplus && __cplusplus >= 201103L && (__has_extension(cxx_strong_enums) || __has_feature(objc_fixed_enum))) || (!__cplusplus && __has_feature(objc_fixed_enum))
72
- #else
73
- #define __CF_ENUM_FIXED_IS_AVAILABLE (__cplusplus && __cplusplus >= 201103L && (__has_extension(cxx_strong_enums) || __has_feature(objc_fixed_enum))) || (!__cplusplus && (__has_feature(objc_fixed_enum) || __has_extension(cxx_fixed_enum)))
74
- #endif
75
- #if __CF_ENUM_FIXED_IS_AVAILABLE
76
- #define __PEACH_NAMED_ENUM(_type, _name) enum __attribute__((enum_extensibility(open))) _name : _type _name; enum _name : _type
77
- #define __PEACH_ANON_ENUM(_type) enum __attribute__((enum_extensibility(open))) : _type
78
- #define CF_CLOSED_ENUM(_type, _name) enum __attribute__((enum_extensibility(closed))) _name : _type _name; enum _name : _type
79
- #if __cplusplus
80
- #define CF_OPTIONS(_type, _name) __attribute__((availability(swift, unavailable))) _type _name; enum __attribute__((flag_enum, enum_extensibility(open))) : _name
81
- #else
82
- #define CF_OPTIONS(_type, _name) enum __attribute__((flag_enum, enum_extensibility(open))) _name : _type _name; enum _name : _type
83
- #endif
84
- #else
85
- #define __PEACH_NAMED_ENUM(_type, _name) _type _name; enum
86
- #define __PEACH_ANON_ENUM(_type) enum
87
- #define CF_CLOSED_ENUM(_type, _name) _type _name; enum
88
- #define CF_OPTIONS(_type, _name) _type _name; enum
89
- #endif
90
- #define CF_ENUM(...) __PEACH_ENUM_GET(__VA_ARGS__, __PEACH_NAMED_ENUM, __PEACH_ANON_ENUM, )(__VA_ARGS__)
91
- #if __has_attribute(swift_name)
92
- #define CF_SWIFT_NAME(_name) __attribute__((swift_name(#_name)))
93
- #else
94
- #define CF_SWIFT_NAME(_name)
95
- #endif
96
- #if __has_attribute(objc_bridge) && __has_feature(objc_bridge_id) && __has_feature(objc_bridge_id_on_typedefs)
97
- #ifdef __OBJC__
98
- @class NSString, NSDictionary, NSNumber, NSURL, NSError;
99
- #endif
100
- #define CF_BRIDGED_TYPE(_t) __attribute__((objc_bridge(_t)))
101
- #define CF_BRIDGED_MUTABLE_TYPE(_t) __attribute__((objc_bridge_mutable(_t)))
102
- #else
103
- #define CF_BRIDGED_TYPE(_t)
104
- #define CF_BRIDGED_MUTABLE_TYPE(_t)
105
- #endif
106
- typedef const struct CF_BRIDGED_TYPE(NSString) __CFString *CFStringRef;
107
- typedef const CF_BRIDGED_TYPE(id) void *CFTypeRef;
108
- typedef CF_BRIDGED_TYPE(id) CFTypeRef CFPropertyListRef;
20
+
21
+ #include <CoreFoundation/CFCalendar.h>
22
+ #include <CoreFoundation/CFNumber.h>
23
+ #include <CoreFoundation/CFSet.h>
24
+ #include <CoreFoundation/CFString.h>
25
+
109
26
  typedef const struct CF_BRIDGED_TYPE(NSURL) __CFURL *CFURLRef;
110
- typedef const struct CF_BRIDGED_TYPE(id) __CFAllocator * CFAllocatorRef;
111
- typedef const struct CF_BRIDGED_TYPE(id) __CFUUID * CFUUIDRef;
112
- typedef struct CF_BRIDGED_MUTABLE_TYPE(NSError) __CFError *CFErrorRef;
113
- typedef const struct CF_BRIDGED_TYPE(NSDictionary) __CFDictionary *CFDictionaryRef;
114
- typedef const struct CF_BRIDGED_TYPE(NSNumber) __CFBoolean *CFBooleanRef;
27
+ typedef const struct CF_BRIDGED_TYPE(id) __CFUUID *CFUUIDRef;
115
28
  #ifdef __cplusplus
116
29
  extern "C" {
117
30
  #endif
118
- typedef double CFTimeInterval;
119
- typedef CFTimeInterval CFAbsoluteTime;
120
- CFAbsoluteTime CFAbsoluteTimeGetCurrent(void);
121
- extern const CFTimeInterval kCFAbsoluteTimeIntervalSince1970;
122
- extern const CFTimeInterval kCFAbsoluteTimeIntervalSince1904;
123
- extern const CFBooleanRef kCFBooleanTrue;
124
- extern const CFAllocatorRef kCFAllocatorDefault;
125
- #pragma clang arc_cf_code_audited begin
126
- void CFRelease(CFTypeRef cf);
127
31
  typedef CF_OPTIONS(CFOptionFlags, CFPropertyListMutabilityOptions) {
128
32
  kCFPropertyListImmutable = 0,
129
33
  kCFPropertyListMutableContainers = 1 << 0,
@@ -155,91 +59,15 @@ typedef struct {
155
59
  UInt8 byte15;
156
60
  } CFUUIDBytes;
157
61
  extern CFUUIDRef CFUUIDCreateFromUUIDBytes(CFAllocatorRef alloc, CFUUIDBytes bytes);
158
- CFStringRef CFErrorCopyDescription(CFErrorRef err) __attribute__((availability(macos,introduced=10.5), availability(ios,introduced=2.0), availability(watchos,introduced=2.0), availability(tvos,introduced=9.0)));
159
- typedef UInt32 CFStringEncoding;
160
- typedef CF_ENUM(CFStringEncoding, CFStringBuiltInEncodings) {
161
- kCFStringEncodingMacRoman = 0,
162
- kCFStringEncodingWindowsLatin1 = 0x0500,
163
- kCFStringEncodingISOLatin1 = 0x0201,
164
- kCFStringEncodingNextStepLatin = 0x0B01,
165
- kCFStringEncodingASCII = 0x0600,
166
- kCFStringEncodingUnicode = 0x0100,
167
- kCFStringEncodingUTF8 = 0x08000100,
168
- kCFStringEncodingNonLossyASCII = 0x0BFF,
169
-
170
- kCFStringEncodingUTF16 = 0x0100,
171
- kCFStringEncodingUTF16BE = 0x10000100,
172
- kCFStringEncodingUTF16LE = 0x14000100,
173
-
174
- kCFStringEncodingUTF32 = 0x0c000100,
175
- kCFStringEncodingUTF32BE = 0x18000100,
176
- kCFStringEncodingUTF32LE = 0x1c000100
177
- };
178
- #if defined(__GNUC__) && (__GNUC__*10+__GNUC_MINOR__ >= 42) && defined(__APPLE_CC__) && (__APPLE_CC__ > 1) && !defined(__INTEL_COMPILER) && TARGET_OS_MAC
179
- #define CF_FORMAT_FUNCTION(F,A) __attribute__((format(CFString, F, A)))
180
- #define CF_FORMAT_ARGUMENT(A) __attribute__((format_arg(A)))
181
- #else
182
- #define CF_FORMAT_FUNCTION(F,A)
183
- #define CF_FORMAT_ARGUMENT(A)
184
- #endif
185
- extern CFStringRef CFStringCreateWithFormatAndArguments(CFAllocatorRef alloc, CFDictionaryRef formatOptions, CFStringRef format, va_list arguments) CF_FORMAT_FUNCTION(3,0);
186
- extern CFStringRef CFStringCreateWithCString(CFAllocatorRef alloc, const char *cStr, CFStringEncoding encoding) CF_FORMAT_ARGUMENT(2);
187
- extern CFIndex CFStringGetLength(CFStringRef theString);
188
- extern Boolean CFStringGetCString(CFStringRef theString, char *buffer, CFIndex bufferSize, CFStringEncoding encoding);
189
- #pragma clang arc_cf_code_audited end
62
+ extern const CFStringRef kCFBundleExecutableKey;
63
+ extern const CFStringRef kCFBundleIdentifierKey;
64
+ extern const CFStringRef kCFBundleVersionKey;
190
65
  #ifdef __cplusplus
191
66
  }
192
67
  #endif
193
- typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableString) __CFString * CFMutableStringRef;
194
- typedef struct {
195
- CFIndex location;
196
- CFIndex length;
197
- } CFRange;
198
- typedef uint32_t FourCharCode;
199
- typedef FourCharCode OSType;
200
- typedef unsigned long CFTypeID;
201
- typedef const struct CF_BRIDGED_TYPE(NSNumber) __CFNumber *CFNumberRef;
202
- typedef CF_OPTIONS(CFOptionFlags, CFStringCompareFlags) {
203
- kCFCompareCaseInsensitive = 1,
204
- kCFCompareBackwards = 4,
205
- kCFCompareAnchored = 8,
206
- kCFCompareNonliteral = 16,
207
- kCFCompareLocalized = 32,
208
- kCFCompareNumerically = 64,
209
- kCFCompareDiacriticInsensitive __attribute__((availability(macos,introduced=10.5), availability(ios,introduced=2.0), availability(watchos,introduced=2.0), availability(tvos,introduced=9.0))) = 128,
210
- kCFCompareWidthInsensitive __attribute__((availability(macos,introduced=10.5), availability(ios,introduced=2.0), availability(watchos,introduced=2.0), availability(tvos,introduced=9.0))) = 256,
211
- kCFCompareForcedOrdering __attribute__((availability(macos,introduced=10.5), availability(ios,introduced=2.0), availability(watchos,introduced=2.0), availability(tvos,introduced=9.0))) = 512
212
- };
213
- typedef const struct CF_BRIDGED_TYPE(NSData) __CFData *CFDataRef;
214
- typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableData) __CFData *CFMutableDataRef;
215
- typedef const struct CF_BRIDGED_TYPE(NSArray) __CFArray *CFArrayRef;
216
- #define CF_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")
217
- #define CF_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")
218
- #define CF_IMPLICIT_BRIDGING_ENABLED _Pragma("clang arc_cf_code_audited begin")
219
- #define CF_IMPLICIT_BRIDGING_DISABLED _Pragma("clang arc_cf_code_audited end")
220
- #if defined(__GNUC__) && (__GNUC__*10+__GNUC_MINOR__ >= 42) && defined(__APPLE_CC__) && (__APPLE_CC__ > 1) && !defined(__INTEL_COMPILER) && TARGET_OS_MAC
221
- #define CF_FORMAT_FUNCTION(F,A) __attribute__((format(CFString, F, A)))
222
- #define CF_FORMAT_ARGUMENT(A) __attribute__((format_arg(A)))
223
- #else
224
- #define CF_FORMAT_FUNCTION(F,A)
225
- #define CF_FORMAT_ARGUMENT(A)
226
- #endif
227
- typedef UInt32 CFStringEncoding;
228
68
  typedef struct CF_BRIDGED_MUTABLE_TYPE(id) __CFRunLoop * CFRunLoopRef;
229
69
  typedef struct CF_BRIDGED_MUTABLE_TYPE(id) __CFRunLoopSource * CFRunLoopSourceRef;
230
- #if __has_attribute(swift_wrapper)
231
- #define _CF_TYPED_EXTENSIBLE_ENUM __attribute__((swift_wrapper(struct)))
232
- #else
233
- #define _CF_TYPED_EXTENSIBLE_ENUM
234
- #endif
235
- #define CF_EXTENSIBLE_STRING_ENUM _CF_TYPED_EXTENSIBLE_ENUM
236
70
  typedef CFStringRef CFRunLoopMode CF_EXTENSIBLE_STRING_ENUM;
237
- #if __has_attribute(__swift_attr__)
238
- # define CF_SWIFT_UNAVAILABLE_FROM_ASYNC(msg) __attribute__((__swift_attr__("@_unavailableFromAsync(message: \"" msg "\")")))
239
- #else
240
- # define CF_SWIFT_UNAVAILABLE_FROM_ASYNC(msg)
241
- #endif
242
- #define CF_EXPORT extern
243
71
  #ifdef __cplusplus
244
72
  extern "C" {
245
73
  #endif
@@ -249,49 +77,3 @@ CF_EXPORT CFRunLoopRef CFRunLoopGetCurrent(void);
249
77
  #ifdef __cplusplus
250
78
  }
251
79
  #endif
252
- extern Boolean CFStringTransform(CFMutableStringRef string, CFRange *range, CFStringRef transform, Boolean reverse);
253
- extern const CFStringRef kCFBundleExecutableKey;
254
- extern const CFStringRef kCFBundleIdentifierKey;
255
- typedef CF_ENUM(CFIndex, CFComparisonResult) {
256
- kCFCompareLessThan = -1L,
257
- kCFCompareEqualTo = 0,
258
- kCFCompareGreaterThan = 1
259
- };
260
- typedef FourCharCode OSType;
261
- extern const CFStringRef kCFBundleVersionKey;
262
- typedef CF_ENUM(CFIndex, CFNumberType) {
263
-
264
- kCFNumberSInt8Type = 1,
265
- kCFNumberSInt16Type = 2,
266
- kCFNumberSInt32Type = 3,
267
- kCFNumberSInt64Type = 4,
268
- kCFNumberFloat32Type = 5,
269
- kCFNumberFloat64Type = 6,
270
-
271
- kCFNumberCharType = 7,
272
- kCFNumberShortType = 8,
273
- kCFNumberIntType = 9,
274
- kCFNumberLongType = 10,
275
- kCFNumberLongLongType = 11,
276
- kCFNumberFloatType = 12,
277
- kCFNumberDoubleType = 13,
278
-
279
- kCFNumberCFIndexType = 14,
280
- kCFNumberNSIntegerType __attribute__((availability(macos,introduced=10.5), availability(ios,introduced=2.0), availability(watchos,introduced=2.0), availability(tvos,introduced=9.0))) = 15,
281
- kCFNumberCGFloatType __attribute__((availability(macos,introduced=10.5), availability(ios,introduced=2.0), availability(watchos,introduced=2.0), availability(tvos,introduced=9.0))) = 16,
282
- kCFNumberMaxType = 16
283
- };
284
- extern const void *CFDictionaryGetValue(CFDictionaryRef theDict, const void *key);
285
- extern Boolean CFNumberGetValue(CFNumberRef number, CFNumberType theType, void *valuePtr);
286
- #ifdef __cplusplus
287
- extern "C" {
288
- #endif
289
- extern CFNumberType CFNumberGetType(CFNumberRef number);
290
- #ifdef __cplusplus
291
- }
292
- #endif
293
- extern CFComparisonResult CFStringCompare(CFStringRef theString1, CFStringRef theString2, CFStringCompareFlags compareOptions);
294
- extern CFStringRef __CFStringMakeConstantString(const char *cStr);
295
- #define CFSTR(cStr) __CFStringMakeConstantString("" cStr "")
296
- extern CFStringRef CFCopyDescription(CFTypeRef cf);
297
- extern const UInt8 *CFDataGetBytePtr(CFDataRef theData);
@@ -194,12 +194,8 @@ extern void CGImageRelease(CGImageRef _Nullable image) __attribute__((availabili
194
194
  extern CFDataRef _Nullable CGDataProviderCopyData(CGDataProviderRef _Nullable provider) __attribute__((availability(macos,introduced=10.5), availability(ios,introduced=2.0)));
195
195
  extern CFIndex CFDataGetLength(CFDataRef theData);
196
196
  extern void CFDataGetBytes(CFDataRef theData, CFRange range, uint8_t *buffer);
197
- static inline CFRange CFRangeMake(CFIndex loc, CFIndex len) {
198
- CFRange range;
199
- range.location = loc;
200
- range.length = len;
201
- return range;
202
- }
197
+ // CFRangeMake lives in CoreFoundation's CFBase.h, which this umbrella
198
+ // imports above; the duplicate inline here would shadow the native owner.
203
199
  CG_EXTERN CGAffineTransform CGAffineTransformMakeScale(CGFloat sx, CGFloat sy) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
204
200
  CG_EXTERN void CGContextScaleCTM(CGContextRef _Nullable c, CGFloat sx, CGFloat sy) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
205
201
  CG_EXTERN void CGDataProviderRelease(CGDataProviderRef _Nullable provider) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
@@ -19,6 +19,7 @@
19
19
  @class NSCharacterSet;
20
20
  @class NSURLSessionConfiguration, NSOperation, NSURLCache, NSCachedURLResponse, NSBlockOperation, NSCache;
21
21
  #import <CoreGraphics/CoreGraphics.h>
22
+ #import <Security/Security.h>
22
23
 
23
24
  @class NSPropertyListSerialization;
24
25
  @class NSKeyedUnarchiver;
@@ -784,7 +785,6 @@ NS_SWIFT_NAME(URLSessionConfiguration)
784
785
  @property (class, readonly, strong) NSURLSessionConfiguration *defaultSessionConfiguration;
785
786
  @end
786
787
  NS_SWIFT_NAME(URLCredential)
787
- typedef struct __attribute__((objc_bridge(id))) __SecTrust *SecTrustRef;
788
788
  @interface NSURLCredential : NSObject <NSSecureCoding, NSCopying>
789
789
  + (NSURLCredential *)credentialForTrust:(SecTrustRef)trust __attribute__((availability(macos,introduced=10.6), availability(ios,introduced=3.0), availability(watchos,introduced=2.0), availability(tvos,introduced=9.0)));
790
790
  + (NSURLCredential *)credentialWithUser:(NSString *)user password:(NSString *)password persistence:(NSURLCredentialPersistence)persistence;
@@ -1047,6 +1047,7 @@ typedef NS_OPTIONS(NSUInteger, NSSearchPathDomainMask) {
1047
1047
  NSAllDomainsMask = 0x0ffff
1048
1048
  };
1049
1049
  FOUNDATION_EXPORT NSString *NSHomeDirectory(void);
1050
+ FOUNDATION_EXPORT NSString *NSTemporaryDirectory(void);
1050
1051
  FOUNDATION_EXPORT NSArray<NSString *> *NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory directory, NSSearchPathDomainMask domainMask, BOOL expandTilde);
1051
1052
  NS_SWIFT_NAME(FileManager)
1052
1053
  typedef NS_OPTIONS(NSUInteger, NSDirectoryEnumerationOptions) {
@@ -1,5 +1,6 @@
1
1
  #pragma once
2
2
  #import <Foundation/Foundation.h>
3
+ #import <CoreGraphics/CoreGraphics.h>
3
4
  @interface CAMediaTimingFunction : NSObject <NSSecureCoding>
4
5
  @end
5
6
  typedef NSString * CALayerContentsFilter NS_TYPED_ENUM __attribute__((availability(macos,introduced=10.5), availability(ios,introduced=2.0), availability(tvos,introduced=9.0))) __attribute__((availability(watchos,unavailable)));