peachsim 0.1.1728 → 0.1.1738
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/commands/control.ts +1 -0
- package/cli/commands/coverage-swift.ts +112 -4
- package/cli/commands/package.ts +11 -1
- package/cli/commands/shell-url.ts +4 -0
- package/cli/scene-video.ts +24 -7
- package/detox/index.ts +9 -1
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +5 -2
- package/dist-lib/auth/shared-session.cjs +5 -2
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +3592 -1918
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +13 -5
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +1329 -1022
- package/dist-lib/expo-swift-metadata.cjs +2 -2
- package/dist-lib/expo-swift-metadata.mjs +2 -2
- package/dist-lib/home-paths.cjs +7 -2
- package/dist-lib/host/bridge-host.cjs +3773 -2149
- package/dist-lib/host/fetch-proxy-handler.cjs +16 -5
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +97 -68
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +209 -32
- package/dist-lib/menu.cjs +7 -1
- package/dist-lib/menu.mjs +7 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +93 -65
- package/dist-lib/native-app-identity-project.cjs +37 -31
- package/dist-lib/native-app-identity-project.mjs +37 -31
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +5 -2
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +23 -23
- package/dist-lib/public-origins-lib.json +79 -53
- package/dist-lib/react-native-host-modules.cjs +5 -2
- package/dist-lib/react-native-host-modules.mjs +5 -2
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +4486 -2789
- package/dist-lib/swift-compile.cjs +53 -60
- package/dist-lib/swift-compile.mjs +52 -60
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +17 -17
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +1056 -870
- package/dist-lib/vite.cjs +20 -8
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +7 -4
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +0 -5
- package/dist-types/packages/peach-engine/src/engine/memory-counts.d.ts +8 -0
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +4 -1
- package/dist-types/packages/peach-engine/src/engine/render-damage.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/engine/text-first-baseline.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/engine/text-paragraph.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/native-preview-bundle.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +7 -2
- package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +13 -1
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
- package/kotlin/README.md +3 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccount.h +55 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountCredential.h +35 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountStore.h +94 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountType.h +53 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACError.h +37 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/Accounts.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/AccountsDefines.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h +1 -1
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes +58 -3
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +636 -37
- package/sdk/ios/usr/include/os/signpost.h +414 -0
- package/sdk/ios/usr/include/os.modulemap +5 -0
- package/sdk/ios/wasm/include/errno.h +4 -20
- package/sdk/ios/wasm/include/pthread.h +3 -0
- package/sdk/ios/wasm/include/setjmp.h +57 -0
- package/sdk/ios/wasm/include/sys/resource.h +2 -2
- package/sdk/native-hashes.json +3 -3
- package/skills/peach-debug/SKILL.md +0 -1
- package/skills/peach-perf/SKILL.md +0 -1
- package/skills/peach-setup/SKILL.md +0 -1
- package/skills/peach-test/SKILL.md +0 -1
- package/skills/peach-visual/SKILL.md +0 -1
- package/src/android-autolinking.ts +1 -0
- package/src/android-bridge-packages.ts +279 -0
- package/src/appPackageContract.ts +2 -0
- package/src/bundle-channel.mjs +20 -2
- package/src/cli-runtime.ts +9 -5
- package/src/expo-discovery-cache.ts +7 -3
- package/src/expo-kotlin-host.ts +97 -26
- package/src/expo-native-workspace.ts +135 -40
- package/src/expo-swift-host.ts +93 -20
- package/src/expo-swift-ready.ts +5 -1
- package/src/expoKotlinContract.ts +12 -2
- package/src/expoSwiftContract.ts +9 -2
- package/src/generated/swift-c-predefines.json +1 -1
- package/src/home-paths.ts +6 -1
- package/src/host/bridge-host.ts +5 -0
- package/src/host/fetch-proxy-handler.ts +10 -0
- package/src/kotlin-host.ts +204 -30
- package/src/kotlinSdkContract.ts +2 -1
- package/src/menu.ts +7 -0
- package/src/native-prebuilt.ts +154 -0
- package/src/nitro-adapter.lock.json +251 -251
- package/src/nitro-adapter.ts +56 -50
- package/src/nitro-bundle.ts +84 -74
- package/src/nitro-compile.ts +10 -5
- package/src/nitro-dependencies.ts +43 -28
- package/src/nitro-source.ts +60 -26
- package/src/nitroAdapterContract.ts +146 -98
- package/src/nitroContract.ts +64 -21
- package/src/react-native-bridge-modules.ts +2 -0
- package/src/react-native-host-modules.ts +4 -1
- package/src/settingsContract.ts +11 -0
- package/src/storageSnapshotContract.ts +29 -81
- package/src/swift-compile.ts +49 -50
- package/src/swift-coverage/indexdump.ts +22 -6
- package/src/swift-coverage/indexing.ts +4 -4
- package/src/swift-coverage/sdk.ts +104 -20
- package/src/swift-coverage/types.ts +34 -0
- package/src/swift-coverage/xcode.ts +9 -1
- package/src/swift-distribution.lock.json +15 -12
- package/src/swift-host.ts +3 -0
- package/src/swift-standin-emit.ts +6 -1
- package/src/swift-standins.ts +172 -10
- package/src/swift-submit.ts +5 -1
- package/src/swift-toolchain.ts +16 -16
- package/src/turbo-bundle.ts +81 -0
- package/src/turbo-compile.ts +120 -0
- package/src/turbo-runtime.lock.json +69 -0
- package/src/turbo-source.ts +754 -0
- package/src/vite-plugin-one.ts +4 -3
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
//
|
|
2
|
+
// ACAccountType.h
|
|
3
|
+
// Accounts
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2011-2012 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
#import <Accounts/AccountsDefines.h>
|
|
10
|
+
|
|
11
|
+
// The identifiers for supported system account types are listed here:
|
|
12
|
+
ACCOUNTS_EXTERN NSString * const ACAccountTypeIdentifierTwitter API_DEPRECATED("Use Twitter SDK instead", ios(5.0, 11.0), macos(10.8, 10.13));
|
|
13
|
+
ACCOUNTS_EXTERN NSString * const ACAccountTypeIdentifierFacebook API_DEPRECATED("Use Facebook SDK instead", ios(6.0, 11.0), macos(10.8, 10.13));
|
|
14
|
+
ACCOUNTS_EXTERN NSString * const ACAccountTypeIdentifierSinaWeibo API_DEPRECATED("Use Sina Weibo SDK instead", ios(6.0, 11.0), macos(10.8, 10.13));
|
|
15
|
+
ACCOUNTS_EXTERN NSString * const ACAccountTypeIdentifierTencentWeibo API_DEPRECATED("Use Tencent Weibo SDK instead", ios(7.0, 11.0), macos(10.9, 10.13));
|
|
16
|
+
ACCOUNTS_EXTERN NSString * const ACAccountTypeIdentifierLinkedIn API_DEPRECATED("Use LinkedIn SDK instead", macos(10.9, 10.13)) API_UNAVAILABLE(ios);
|
|
17
|
+
|
|
18
|
+
// Options dictionary keys for Facebook access, for use with [ACAccountStore requestAccessToAccountsWithType:options:completion:]
|
|
19
|
+
ACCOUNTS_EXTERN NSString * const ACFacebookAppIdKey API_DEPRECATED("Use Facebook SDK instead", ios(6.0, 11.0), macos(10.8, 10.13)); // Your Facebook App ID, as it appears on the Facebook website.
|
|
20
|
+
ACCOUNTS_EXTERN NSString * const ACFacebookPermissionsKey API_DEPRECATED("Use Facebook SDK instead", ios(6.0, 11.0), macos(10.8, 10.13)); // An array of of the permissions you're requesting.
|
|
21
|
+
ACCOUNTS_EXTERN NSString * const ACFacebookAudienceKey API_DEPRECATED("Use Facebook SDK instead", ios(6.0, 11.0), macos(10.8, 10.13)); // Only required when posting permissions are requested.
|
|
22
|
+
|
|
23
|
+
// Options dictionary values for Facebook access, for use with [ACAccountStore requestAccessToAccountsWithType:options:completion:]
|
|
24
|
+
ACCOUNTS_EXTERN NSString * const ACFacebookAudienceEveryone API_DEPRECATED("Use Facebook SDK instead", ios(6.0, 11.0), macos(10.8, 10.13)); // Posts from your app are visible to everyone.
|
|
25
|
+
ACCOUNTS_EXTERN NSString * const ACFacebookAudienceFriends API_DEPRECATED("Use Facebook SDK instead", ios(6.0, 11.0), macos(10.8, 10.13)); // Posts are visible only to friends.
|
|
26
|
+
ACCOUNTS_EXTERN NSString * const ACFacebookAudienceOnlyMe API_DEPRECATED("Use Facebook SDK instead", ios(6.0, 11.0), macos(10.8, 10.13)); // Posts are visible to the user only.
|
|
27
|
+
|
|
28
|
+
// Options dictionary keys for LinkedIn access, for use with [ACAccountStore requestAccessToAccountsWithType:options:completion:]
|
|
29
|
+
ACCOUNTS_EXTERN NSString * const ACLinkedInAppIdKey API_DEPRECATED("Use LinkedIn SDK instead", macos(10.9, 10.13)) API_UNAVAILABLE(ios); // Your LinkedIn App ID (or API Key), as it appears on the LinkedIn website.
|
|
30
|
+
ACCOUNTS_EXTERN NSString * const ACLinkedInPermissionsKey API_DEPRECATED("Use LinkedIn SDK instead", macos(10.9, 10.13)) API_UNAVAILABLE(ios); // An array of of the LinkedIn permissions you're requesting.
|
|
31
|
+
|
|
32
|
+
ACCOUNTS_EXTERN NSString * const ACTencentWeiboAppIdKey API_DEPRECATED("Use Tencent Weibo SDK instead", ios(7.0, 11.0), macos(10.9, 10.13)); // Tencent App ID
|
|
33
|
+
|
|
34
|
+
// Each account has an associated account type, containing information relevant to all the accounts of that type.
|
|
35
|
+
// ACAccountType objects are obtained by using the [ACAccountStore accountTypeWithIdentifier:] method
|
|
36
|
+
// or accessing the accountType property for a particular account object. They may also be used to find
|
|
37
|
+
// all the accounts of a particular type using [ACAccountStore accountsWithAccountType:]
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
API_DEPRECATED("Use appropriate non-Apple SDK corresponding to the type of account you want to reference instead", ios(6.0, 15.0), macos(10.8, 12.0))
|
|
41
|
+
|
|
42
|
+
@interface ACAccountType : NSObject
|
|
43
|
+
|
|
44
|
+
// A human readable description of the account type.
|
|
45
|
+
@property (readonly, nonatomic) NSString *accountTypeDescription;
|
|
46
|
+
|
|
47
|
+
// A unique identifier for the account type. Well known system account type identifiers are listed above.
|
|
48
|
+
@property (readonly, nonatomic) NSString *identifier;
|
|
49
|
+
|
|
50
|
+
// A boolean indicating whether the user has granted access to accounts of this type for your application.
|
|
51
|
+
@property (readonly, nonatomic) BOOL accessGranted;
|
|
52
|
+
|
|
53
|
+
@end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//
|
|
2
|
+
// ACError.h
|
|
3
|
+
// Accounts
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2011-2012 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
#import <Accounts/AccountsDefines.h>
|
|
10
|
+
|
|
11
|
+
ACCOUNTS_EXTERN NSString * const ACErrorDomain API_AVAILABLE(ios(5.0), macos(10.8));
|
|
12
|
+
|
|
13
|
+
typedef enum ACErrorCode {
|
|
14
|
+
ACErrorUnknown = 1,
|
|
15
|
+
ACErrorAccountMissingRequiredProperty = 2, // Account wasn't saved because it is missing a required property.
|
|
16
|
+
ACErrorAccountAuthenticationFailed = 3, // Account wasn't saved because authentication of the supplied credential failed.
|
|
17
|
+
ACErrorAccountTypeInvalid = 4, // Account wasn't saved because the account type is invalid.
|
|
18
|
+
ACErrorAccountAlreadyExists = 5, // Account wasn't added because it already exists.
|
|
19
|
+
ACErrorAccountNotFound = 6, // Account wasn't deleted because it could not be found.
|
|
20
|
+
ACErrorPermissionDenied = 7, // The operation didn't complete because the user denied permission.
|
|
21
|
+
ACErrorAccessInfoInvalid = 8, // The client's access info dictionary has incorrect or missing values.
|
|
22
|
+
ACErrorClientPermissionDenied = 9, // Your client does not have access to the requested data.
|
|
23
|
+
ACErrorAccessDeniedByProtectionPolicy = 10, // Due to the current protection policy in effect, we couldn't fetch a credential
|
|
24
|
+
ACErrorCredentialNotFound = 11, // Yo, I tried to find your credential, but it must have run off!
|
|
25
|
+
ACErrorFetchCredentialFailed = 12, // Something bad happened on the way to the keychain
|
|
26
|
+
ACErrorStoreCredentialFailed = 13, // Unable to store credential
|
|
27
|
+
ACErrorRemoveCredentialFailed = 14, // Unable to remove credential
|
|
28
|
+
ACErrorUpdatingNonexistentAccount = 15, // Account save failed because the account being updated has been removed.
|
|
29
|
+
ACErrorInvalidClientBundleID = 16, // The client making the request does not have a valid bundle ID.
|
|
30
|
+
ACErrorDeniedByPlugin = 17, // A plugin prevented the expected action to occur.
|
|
31
|
+
ACErrorCoreDataSaveFailed = 18, // Something broke below us when we tried to the CoreData store.
|
|
32
|
+
ACErrorFailedSerializingAccountInfo = 19,
|
|
33
|
+
ACErrorInvalidCommand = 20,
|
|
34
|
+
ACErrorMissingTransportMessageID = 21,
|
|
35
|
+
ACErrorCredentialItemNotFound = 22, // Credential item wasn't saved because it could not be found.
|
|
36
|
+
ACErrorCredentialItemNotExpired = 23, // Credential item wasn't removed because it has not yet expired.
|
|
37
|
+
} ACErrorCode;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Accounts.h
|
|
3
|
+
// Accounts
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2011-2012 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Accounts/AccountsDefines.h>
|
|
9
|
+
#import <Accounts/ACAccount.h>
|
|
10
|
+
#import <Accounts/ACAccountType.h>
|
|
11
|
+
#import <Accounts/ACAccountCredential.h>
|
|
12
|
+
#import <Accounts/ACAccountStore.h>
|
|
13
|
+
#import <Accounts/ACError.h>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//
|
|
2
|
+
// AccountsDefines.h
|
|
3
|
+
// Accounts
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2011-2012 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
#ifdef __cplusplus
|
|
10
|
+
#define ACCOUNTS_EXTERN extern "C" __attribute__((visibility ("default")))
|
|
11
|
+
#else
|
|
12
|
+
#define ACCOUNTS_EXTERN extern __attribute__((visibility ("default")))
|
|
13
|
+
#endif
|
|
@@ -168,7 +168,7 @@ typedef CF_ENUM (int32_t, CGInterpolationQuality) {
|
|
|
168
168
|
kCGInterpolationHigh = 3
|
|
169
169
|
};
|
|
170
170
|
typedef void (*CGDataProviderReleaseDataCallback)(void * __nullable info,
|
|
171
|
-
const void *
|
|
171
|
+
const void * _Nonnull data, size_t size);
|
|
172
172
|
CG_EXTERN CGAffineTransform CG_PURE CGAffineTransformConcat(CGAffineTransform t1,
|
|
173
173
|
CGAffineTransform t2) API_AVAILABLE(macos(10.0), ios(2.0));
|
|
174
174
|
CG_EXTERN CGAffineTransform CG_PURE CGAffineTransformMake(CGFloat a, CGFloat b,
|
|
@@ -185,6 +185,31 @@ Classes:
|
|
|
185
185
|
SwiftName: HTTPCookie
|
|
186
186
|
- Name: NSHTTPCookieStorage
|
|
187
187
|
SwiftName: HTTPCookieStorage
|
|
188
|
+
Properties:
|
|
189
|
+
- Name: sharedHTTPCookieStorage
|
|
190
|
+
SwiftName: shared
|
|
191
|
+
Methods:
|
|
192
|
+
- Selector: 'sharedCookieStorageForGroupContainerIdentifier:'
|
|
193
|
+
SwiftName: sharedCookieStorage(forGroupContainerIdentifier:)
|
|
194
|
+
MethodKind: Class
|
|
195
|
+
- Selector: 'cookiesForURL:'
|
|
196
|
+
SwiftName: cookies(for:)
|
|
197
|
+
MethodKind: Instance
|
|
198
|
+
- Selector: 'setCookies:forURL:mainDocumentURL:'
|
|
199
|
+
SwiftName: setCookies(_:for:mainDocumentURL:)
|
|
200
|
+
MethodKind: Instance
|
|
201
|
+
- Selector: 'removeCookiesSinceDate:'
|
|
202
|
+
SwiftName: removeCookies(since:)
|
|
203
|
+
MethodKind: Instance
|
|
204
|
+
- Selector: 'sortedCookiesUsingDescriptors:'
|
|
205
|
+
Availability: nonswift
|
|
206
|
+
MethodKind: Instance
|
|
207
|
+
- Selector: 'storeCookies:forTask:'
|
|
208
|
+
SwiftName: storeCookies(_:for:)
|
|
209
|
+
MethodKind: Instance
|
|
210
|
+
- Selector: 'getCookiesForTask:completionHandler:'
|
|
211
|
+
SwiftName: getCookies(for:completionHandler:)
|
|
212
|
+
MethodKind: Instance
|
|
188
213
|
- Name: NSHTTPURLResponse
|
|
189
214
|
SwiftName: HTTPURLResponse
|
|
190
215
|
- Name: NSKeyedArchiver
|
|
@@ -272,6 +297,21 @@ Classes:
|
|
|
272
297
|
SwiftName: URLResponse
|
|
273
298
|
- Name: NSURLSession
|
|
274
299
|
SwiftName: URLSession
|
|
300
|
+
Properties:
|
|
301
|
+
- Name: sharedSession
|
|
302
|
+
SwiftName: shared
|
|
303
|
+
# NSOperationQueue is a Swift class here, so FoundationNetworking declares
|
|
304
|
+
# these in Swift with the OperationQueue type.
|
|
305
|
+
- Name: delegateQueue
|
|
306
|
+
PropertyKind: Instance
|
|
307
|
+
Availability: nonswift
|
|
308
|
+
Methods:
|
|
309
|
+
- Selector: 'sessionWithConfiguration:'
|
|
310
|
+
MethodKind: Class
|
|
311
|
+
Availability: nonswift
|
|
312
|
+
- Selector: 'sessionWithConfiguration:delegate:delegateQueue:'
|
|
313
|
+
MethodKind: Class
|
|
314
|
+
Availability: nonswift
|
|
275
315
|
- Name: NSURLSessionConfiguration
|
|
276
316
|
SwiftName: URLSessionConfiguration
|
|
277
317
|
Methods:
|
|
@@ -286,6 +326,12 @@ Classes:
|
|
|
286
326
|
SwiftName: URLSessionStreamTask
|
|
287
327
|
- Name: NSURLSessionTask
|
|
288
328
|
SwiftName: URLSessionTask
|
|
329
|
+
# NSProgress is a Swift class here, so FoundationNetworking declares this in
|
|
330
|
+
# Swift with the Progress type.
|
|
331
|
+
Properties:
|
|
332
|
+
- Name: progress
|
|
333
|
+
PropertyKind: Instance
|
|
334
|
+
Availability: nonswift
|
|
289
335
|
- Name: NSURLSessionTaskMetrics
|
|
290
336
|
SwiftName: URLSessionTaskMetrics
|
|
291
337
|
- Name: NSURLSessionTaskTransactionMetrics
|
|
@@ -923,6 +969,9 @@ Classes:
|
|
|
923
969
|
MethodKind: Class
|
|
924
970
|
- Name: NSURLCredentialStorage
|
|
925
971
|
SwiftName: URLCredentialStorage
|
|
972
|
+
Properties:
|
|
973
|
+
- Name: sharedCredentialStorage
|
|
974
|
+
SwiftName: shared
|
|
926
975
|
Methods:
|
|
927
976
|
- Selector: 'setCredential:forProtectionSpace:'
|
|
928
977
|
SwiftName: set(_:for:)
|
|
@@ -1282,6 +1331,10 @@ Tags:
|
|
|
1282
1331
|
SwiftName: URLSessionTaskMetrics.DomainResolutionProtocol
|
|
1283
1332
|
- Name: NSURLSessionTaskMetricsResourceFetchType
|
|
1284
1333
|
SwiftName: URLSessionTaskMetrics.ResourceFetchType
|
|
1334
|
+
- Name: NSURLSessionDelayedRequestDisposition
|
|
1335
|
+
SwiftName: URLSession.DelayedRequestDisposition
|
|
1336
|
+
- Name: NSURLSessionMultipathServiceType
|
|
1337
|
+
SwiftName: URLSessionConfiguration.MultipathServiceType
|
|
1285
1338
|
- Name: NSURLSessionWebSocketMessageType
|
|
1286
1339
|
SwiftPrivate: true
|
|
1287
1340
|
- Name: NSURLSessionWebSocketCloseCode
|
|
@@ -1486,12 +1539,14 @@ Globals:
|
|
|
1486
1539
|
SwiftName: NSTextCheckingResult.CheckingType.allTypes
|
|
1487
1540
|
- Name: NSUbiquitousKeyValueStoreDidChangeExternallyNotification
|
|
1488
1541
|
SwiftName: NSUbiquitousKeyValueStore.didChangeExternallyNotification
|
|
1542
|
+
# FoundationNetworking defines URLSessionTask.defaultPriority, lowPriority
|
|
1543
|
+
# and highPriority in Swift; nothing defines the C constants.
|
|
1489
1544
|
- Name: NSURLSessionTaskPriorityDefault
|
|
1490
|
-
|
|
1545
|
+
Availability: nonswift
|
|
1491
1546
|
- Name: NSURLSessionTaskPriorityLow
|
|
1492
|
-
|
|
1547
|
+
Availability: nonswift
|
|
1493
1548
|
- Name: NSURLSessionTaskPriorityHigh
|
|
1494
|
-
|
|
1549
|
+
Availability: nonswift
|
|
1495
1550
|
- Name: NSGlobalDomain
|
|
1496
1551
|
SwiftName: UserDefaults.globalDomain
|
|
1497
1552
|
- Name: NSArgumentDomain
|