peachsim 0.1.2209 → 0.1.2213
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/command-registry.ts +1 -0
- package/cli/commands/inspect/settling.ts +1 -1
- package/cli/commands/map.ts +576 -0
- package/cli/commands/runtime.ts +1 -1
- package/cli/main.ts +6 -0
- package/cli/outbound-endpoints.ts +11 -0
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +282 -53
- 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 +6 -3
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +280 -51
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +1264 -856
- package/dist-lib/host/fetch-proxy-handler.cjs +21 -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 +1966 -752
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -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 +1806 -593
- package/dist-lib/native-app-identity-project.cjs +19 -3
- package/dist-lib/native-app-identity-project.mjs +19 -3
- 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/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +25 -24
- package/dist-lib/public-origins-lib.json +83 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +2 -2
- package/dist-lib/sdk.mjs +2 -2
- package/dist-lib/skills.cjs +1800 -1334
- package/dist-lib/swift-compile.cjs +58 -12
- package/dist-lib/swift-compile.mjs +57 -12
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +257 -47
- package/dist-lib/vite.cjs +1530 -303
- 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 +1 -1
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +1 -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/CoreData.framework/Headers/CoreData.apinotes +35 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/CoreData.h +8 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h +30 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSEntityDescription.h +14 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSExpressionDescription.h +10 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSFetchIndexDescription.h +13 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSFetchIndexElementDescription.h +18 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObject.h +11 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectContext.h +19 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h +2 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectModel.h +3 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSMergePolicy.h +17 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStore.h +8 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreCoordinator.h +6 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPropertyDescription.h +13 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSRelationshipDescription.h +21 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h +2 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h +1 -10
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes +21 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +11 -0
- package/sdk/ios/usr/lib/swift/Combine.swiftmodule/arm64-apple-ios-simulator.swiftinterface +18 -0
- package/sdk/ios/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1 -0
- package/sdk/ios/usr/lib/swift/SwiftUI.swiftmodule/arm64-apple-ios-simulator.swiftinterface +19 -0
- package/sdk/ios/usr/lib/swift/SwiftUICore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -0
- package/sdk/ios/usr/lib/swift/UIKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -0
- package/sdk/ios/wasm/include/pthread.h +1 -0
- package/sdk/ios/wasm/include/signal.h +2 -2
- package/sdk/native-hashes.json +3 -3
- package/skills/contrast/SKILL.md +1 -0
- package/src/home-paths.ts +1 -1
- package/src/host/bridge-host.ts +101 -97
- package/src/metro-plugin.ts +4 -1
- package/src/native-static-libraries.ts +7 -0
- package/src/react-native-coverage/native-source-ranges-file.ts +1 -1
- package/src/runtime-assets.ts +0 -1
- package/src/runtime-delivery.ts +1 -1
- package/src/runtime-packs.ts +212 -0
- package/src/swift-compile.ts +48 -10
- package/src/swift-host.ts +22 -3
- package/src/swift-objc-compile.ts +1 -1
- package/src/swift-objc-import.ts +32 -2
- package/src/swift-objc-standin.ts +1 -1
- package/src/swift-packages.ts +53 -28
- package/src/swift-pdf-raster.ts +60 -4
- package/src/swift-shipped-archives.json +44 -0
- package/src/swift-shipped-binaries.ts +12 -0
- package/src/swift-standin-config.ts +4 -2
- package/src/swift-standin-emit.ts +9 -3
- package/src/swift-standins.ts +75 -8
- package/src/vite-plugin-one.ts +4 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2213 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -55,7 +55,7 @@ export declare const ANDROID_FONT_FAMILY = "Roboto";
|
|
|
55
55
|
export declare const ANDROID_EMOJI_FONT_FAMILY = "Noto Color Emoji";
|
|
56
56
|
export declare const ANDROID_EMOJI_FLAGS_FONT_FAMILY = "Noto Color Emoji Flags";
|
|
57
57
|
export declare const ANDROID_EMOJI_FONT_FAMILIES: readonly ["Noto Color Emoji", "Noto Color Emoji Flags"];
|
|
58
|
-
export declare const ANDROID_EMOJI_FONT_FILES: readonly [string, 'noto-color-emoji-flags.ttf'];
|
|
58
|
+
export declare const ANDROID_EMOJI_FONT_FILES: readonly [string, 'emoji/noto-color-emoji-flags.ttf'];
|
|
59
59
|
export declare const EMOJI_FONT_FAMILY = "SootSimEmojiMetrics";
|
|
60
60
|
export declare function noteLanguageSubsetFamily(family: string): void;
|
|
61
61
|
export declare function normalizeFontWeight(fontWeight: unknown): number;
|
|
@@ -70,6 +70,7 @@ export type PaintChange = typeof PAINT_NONE | typeof PAINT_OWN | typeof PAINT_TR
|
|
|
70
70
|
export declare function markWireNodeChanged(node?: SootSimNode | SootSimTextNode | null, paintChange?: PaintChange, shapeChanged?: boolean): void;
|
|
71
71
|
export declare function setStyleChangeListener(listener: (node: SootSimNode) => void): void;
|
|
72
72
|
export declare function hasUnownedLiveAnimatedStyle(node: SootSimNode): boolean;
|
|
73
|
+
export declare function readLiveGeometryOnce<T>(read: () => T): T;
|
|
73
74
|
export declare function refreshLiveAnimatedSceneGeometry(node: SootSimNode): void;
|
|
74
75
|
export declare function propsPaintChange(previous: Record<string, unknown>, next: Record<string, unknown>): PaintChange;
|
|
75
76
|
export declare function batchStyleWrites<T>(node: object, write: () => T): T;
|
package/kotlin/sdk.tar.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/runtime-companion.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"sha256":"
|
|
1
|
+
{"abi":1,"sha256":"1c15d055a3e1e68a17d3f735cd1c592fdc418c85e781e44abf4f4aa0b1215b52","file":"node/cli-1c15d055a3e1e68a17d3f735cd1c592fdc418c85e781e44abf4f4aa0b1215b52.cjs"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
Name: CoreData
|
|
3
|
+
Enumerators:
|
|
4
|
+
- Name: NSBinaryDataAttributeType
|
|
5
|
+
SwiftName: binaryDataAttributeType
|
|
6
|
+
- Name: NSBooleanAttributeType
|
|
7
|
+
SwiftName: booleanAttributeType
|
|
8
|
+
- Name: NSDateAttributeType
|
|
9
|
+
SwiftName: dateAttributeType
|
|
10
|
+
- Name: NSDecimalAttributeType
|
|
11
|
+
SwiftName: decimalAttributeType
|
|
12
|
+
- Name: NSDoubleAttributeType
|
|
13
|
+
SwiftName: doubleAttributeType
|
|
14
|
+
- Name: NSFloatAttributeType
|
|
15
|
+
SwiftName: floatAttributeType
|
|
16
|
+
- Name: NSInteger16AttributeType
|
|
17
|
+
SwiftName: integer16AttributeType
|
|
18
|
+
- Name: NSInteger32AttributeType
|
|
19
|
+
SwiftName: integer32AttributeType
|
|
20
|
+
- Name: NSInteger64AttributeType
|
|
21
|
+
SwiftName: integer64AttributeType
|
|
22
|
+
- Name: NSObjectIDAttributeType
|
|
23
|
+
SwiftName: objectIDAttributeType
|
|
24
|
+
- Name: NSStringAttributeType
|
|
25
|
+
SwiftName: stringAttributeType
|
|
26
|
+
- Name: NSTransformableAttributeType
|
|
27
|
+
SwiftName: transformableAttributeType
|
|
28
|
+
- Name: NSUndefinedAttributeType
|
|
29
|
+
SwiftName: undefinedAttributeType
|
|
30
|
+
- Name: NSUUIDAttributeType
|
|
31
|
+
SwiftName: UUIDAttributeType
|
|
32
|
+
- Name: NSURIAttributeType
|
|
33
|
+
SwiftName: URIAttributeType
|
|
34
|
+
- Name: NSCompositeAttributeType
|
|
35
|
+
SwiftName: compositeAttributeType
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
#pragma once
|
|
2
2
|
#import <CoreData/NSManagedObjectModel.h>
|
|
3
3
|
#import <CoreData/NSPersistentStoreCoordinator.h>
|
|
4
|
+
#import <CoreData/NSPersistentStore.h>
|
|
4
5
|
#import <CoreData/NSManagedObjectContext.h>
|
|
5
6
|
#import <CoreData/NSEntityDescription.h>
|
|
7
|
+
#import <CoreData/NSPropertyDescription.h>
|
|
8
|
+
#import <CoreData/NSAttributeDescription.h>
|
|
9
|
+
#import <CoreData/NSRelationshipDescription.h>
|
|
10
|
+
#import <CoreData/NSExpressionDescription.h>
|
|
11
|
+
#import <CoreData/NSFetchIndexDescription.h>
|
|
12
|
+
#import <CoreData/NSFetchIndexElementDescription.h>
|
|
13
|
+
#import <CoreData/NSMergePolicy.h>
|
|
6
14
|
#import <CoreData/NSFetchRequest.h>
|
|
7
15
|
#import <CoreData/NSFetchedResultsController.h>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
#import <CoreData/NSPropertyDescription.h>
|
|
4
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
5
|
+
typedef NS_ENUM(NSUInteger, NSAttributeType) {
|
|
6
|
+
NSUndefinedAttributeType = 0,
|
|
7
|
+
NSInteger16AttributeType = 100,
|
|
8
|
+
NSInteger32AttributeType = 200,
|
|
9
|
+
NSInteger64AttributeType = 300,
|
|
10
|
+
NSDecimalAttributeType = 400,
|
|
11
|
+
NSDoubleAttributeType = 500,
|
|
12
|
+
NSFloatAttributeType = 600,
|
|
13
|
+
NSStringAttributeType = 700,
|
|
14
|
+
NSBooleanAttributeType = 800,
|
|
15
|
+
NSDateAttributeType = 900,
|
|
16
|
+
NSBinaryDataAttributeType = 1000,
|
|
17
|
+
NSUUIDAttributeType __attribute__((availability(ios,introduced=11.0))) = 1100,
|
|
18
|
+
NSURIAttributeType __attribute__((availability(ios,introduced=11.0))) = 1200,
|
|
19
|
+
NSTransformableAttributeType __attribute__((availability(ios,introduced=3.0))) = 1800,
|
|
20
|
+
NSObjectIDAttributeType __attribute__((availability(ios,introduced=3.0))) = 2000,
|
|
21
|
+
NSCompositeAttributeType __attribute__((availability(ios,introduced=17.0))) = 2100
|
|
22
|
+
};
|
|
23
|
+
__attribute__((availability(ios,introduced=3.0)))
|
|
24
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSAttributeDescription : NSPropertyDescription
|
|
25
|
+
@property () NSAttributeType attributeType;
|
|
26
|
+
@property (nullable, copy) NSString *attributeValueClassName;
|
|
27
|
+
@property (nullable, retain) id defaultValue;
|
|
28
|
+
@property (nullable, copy) NSString *valueTransformerName __attribute__((availability(ios,introduced=3.0)));
|
|
29
|
+
@end
|
|
30
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -2,9 +2,23 @@
|
|
|
2
2
|
#import <Foundation/Foundation.h>
|
|
3
3
|
@class NSManagedObject;
|
|
4
4
|
@class NSManagedObjectContext;
|
|
5
|
+
@class NSPropertyDescription;
|
|
6
|
+
@class NSAttributeDescription;
|
|
7
|
+
@class NSRelationshipDescription;
|
|
8
|
+
@class NSFetchIndexDescription;
|
|
5
9
|
NS_ASSUME_NONNULL_BEGIN
|
|
6
10
|
__attribute__((availability(ios,introduced=3.0)))
|
|
7
11
|
PEACH_SWIFT_CLASS(CoreData) @interface NSEntityDescription : NSObject <NSCoding, NSCopying, NSFastEnumeration>
|
|
12
|
+
+ (nullable NSEntityDescription *)entityForName:(NSString *)entityName inManagedObjectContext:(NSManagedObjectContext *)context;
|
|
8
13
|
+ (__kindof NSManagedObject *)insertNewObjectForEntityForName:(NSString *)entityName inManagedObjectContext:(NSManagedObjectContext *)context;
|
|
14
|
+
@property (null_resettable, copy) NSString *managedObjectClassName;
|
|
15
|
+
@property (nullable, copy) NSString *name;
|
|
16
|
+
@property (getter=isAbstract) BOOL abstract;
|
|
17
|
+
@property (readonly, copy) NSDictionary<NSString *, __kindof NSPropertyDescription *> *propertiesByName;
|
|
18
|
+
@property (strong) NSArray<__kindof NSPropertyDescription *> *properties;
|
|
19
|
+
@property (nullable, nonatomic, strong) NSDictionary *userInfo;
|
|
20
|
+
@property (readonly, copy) NSDictionary<NSString *, NSAttributeDescription *> *attributesByName;
|
|
21
|
+
@property (readonly, copy) NSDictionary<NSString *, NSRelationshipDescription *> *relationshipsByName;
|
|
22
|
+
@property (copy) NSArray <NSFetchIndexDescription *>*indexes __attribute__((availability(ios,introduced=11.0)));
|
|
9
23
|
@end
|
|
10
24
|
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSExpressionDescription.h
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
#import <CoreData/NSAttributeDescription.h>
|
|
4
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
5
|
+
__attribute__((availability(ios,introduced=3.0)))
|
|
6
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSExpressionDescription : NSPropertyDescription
|
|
7
|
+
@property (nullable, strong) NSExpression *expression;
|
|
8
|
+
@property () NSAttributeType expressionResultType;
|
|
9
|
+
@end
|
|
10
|
+
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSFetchIndexDescription.h
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
#import <CoreData/NSFetchIndexElementDescription.h>
|
|
4
|
+
@class NSEntityDescription;
|
|
5
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
6
|
+
__attribute__((availability(ios,introduced=11.0)))
|
|
7
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSFetchIndexDescription : NSObject <NSCoding,NSCopying>
|
|
8
|
+
- (instancetype)initWithName:(NSString*)name elements:(nullable NSArray <NSFetchIndexElementDescription *>*)elements;
|
|
9
|
+
@property (copy) NSString *name;
|
|
10
|
+
@property (copy) NSArray <NSFetchIndexElementDescription *>*elements;
|
|
11
|
+
@property (readonly, nonatomic, nullable, assign) NSEntityDescription *entity;
|
|
12
|
+
@end
|
|
13
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
@class NSPropertyDescription;
|
|
4
|
+
@class NSFetchIndexDescription;
|
|
5
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
6
|
+
typedef NS_ENUM(NSUInteger, NSFetchIndexElementType) {
|
|
7
|
+
NSFetchIndexElementTypeBinary,
|
|
8
|
+
NSFetchIndexElementTypeRTree,
|
|
9
|
+
} __attribute__((availability(ios,introduced=11.0)));
|
|
10
|
+
__attribute__((availability(ios,introduced=11.0)))
|
|
11
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSFetchIndexElementDescription : NSObject <NSCoding,NSCopying>
|
|
12
|
+
- (instancetype)initWithProperty:(NSPropertyDescription*)property collationType:(NSFetchIndexElementType)collationType;
|
|
13
|
+
@property (readonly, nullable, retain) NSPropertyDescription *property;
|
|
14
|
+
@property (readonly, nullable, retain) NSString *propertyName;
|
|
15
|
+
@property NSFetchIndexElementType collationType;
|
|
16
|
+
@property (getter=isAscending) BOOL ascending;
|
|
17
|
+
@end
|
|
18
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
#pragma once
|
|
2
2
|
#import <Foundation/Foundation.h>
|
|
3
3
|
#import <CoreData/NSManagedObjectID.h>
|
|
4
|
+
@class NSEntityDescription;
|
|
5
|
+
@class NSManagedObjectContext;
|
|
4
6
|
NS_ASSUME_NONNULL_BEGIN
|
|
5
7
|
__attribute__((availability(ios,introduced=3.0))) NS_SWIFT_NONISOLATED NS_SWIFT_NONSENDABLE __attribute__((objc_requires_property_definitions))
|
|
6
8
|
PEACH_SWIFT_CLASS(CoreData) @interface NSManagedObject : NSObject
|
|
9
|
+
@property (nullable, nonatomic, readonly, assign) NSManagedObjectContext *managedObjectContext;
|
|
10
|
+
@property (nonatomic, readonly, strong) NSEntityDescription *entity;
|
|
7
11
|
@property (nonatomic, readonly, strong) NSManagedObjectID *objectID;
|
|
8
12
|
@property (nonatomic, getter=isFault, readonly) BOOL fault;
|
|
13
|
+
- (void)willAccessValueForKey:(nullable NSString *)key;
|
|
14
|
+
- (void)didAccessValueForKey:(nullable NSString *)key;
|
|
15
|
+
- (void)awakeFromFetch;
|
|
16
|
+
- (void)awakeFromInsert;
|
|
17
|
+
- (void)didTurnIntoFault;
|
|
18
|
+
- (nullable id)primitiveValueForKey:(NSString *)key;
|
|
19
|
+
- (void)setPrimitiveValue:(nullable id)value forKey:(NSString *)key;
|
|
9
20
|
@end
|
|
10
21
|
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectContext.h
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
@class NSFetchRequest;
|
|
5
5
|
@class NSPersistentStoreCoordinator;
|
|
6
6
|
NS_ASSUME_NONNULL_BEGIN
|
|
7
|
+
extern NSString * const NSManagedObjectContextWillSaveNotification __attribute__((availability(ios,introduced=3.0)));
|
|
8
|
+
extern NSString * const NSManagedObjectContextDidSaveNotification __attribute__((availability(ios,introduced=3.0)));
|
|
9
|
+
extern NSString * const NSManagedObjectContextObjectsDidChangeNotification __attribute__((availability(ios,introduced=3.0)));
|
|
10
|
+
extern NSString * const NSInsertedObjectsKey __attribute__((availability(ios,introduced=3.0)));
|
|
11
|
+
extern NSString * const NSUpdatedObjectsKey __attribute__((availability(ios,introduced=3.0)));
|
|
12
|
+
extern NSString * const NSDeletedObjectsKey __attribute__((availability(ios,introduced=3.0)));
|
|
7
13
|
typedef NS_ENUM(NSUInteger, NSManagedObjectContextConcurrencyType) {
|
|
8
14
|
NSConfinementConcurrencyType __attribute__((availability(ios,introduced=3.0,deprecated=9.0))) = 0x00,
|
|
9
15
|
NSPrivateQueueConcurrencyType = 0x01,
|
|
@@ -12,13 +18,26 @@ typedef NS_ENUM(NSUInteger, NSManagedObjectContextConcurrencyType) {
|
|
|
12
18
|
__attribute__((availability(ios,introduced=3.0))) NS_SWIFT_NONISOLATED NS_SWIFT_SENDABLE
|
|
13
19
|
PEACH_SWIFT_CLASS(CoreData) @interface NSManagedObjectContext : NSObject <NSCoding, NSLocking>
|
|
14
20
|
- (instancetype)initWithConcurrencyType:(NSManagedObjectContextConcurrencyType)ct NS_DESIGNATED_INITIALIZER __attribute__((availability(ios,introduced=5.0)));
|
|
21
|
+
- (void)performBlock:(void (^NS_SWIFT_SENDABLE)(void))block __attribute__((availability(ios,introduced=5.0)));
|
|
15
22
|
- (void)performBlockAndWait:(void (NS_NOESCAPE NS_SWIFT_SENDABLE^)(void))block __attribute__((availability(ios,introduced=5.0)));
|
|
16
23
|
@property (nullable, strong) NSPersistentStoreCoordinator *persistentStoreCoordinator;
|
|
24
|
+
@property (nullable, strong) NSManagedObjectContext *parentContext __attribute__((availability(ios,introduced=5.0)));
|
|
25
|
+
@property (nullable, nonatomic, strong) NSUndoManager *undoManager;
|
|
17
26
|
@property (nonatomic, readonly) BOOL hasChanges;
|
|
27
|
+
@property (nonatomic, readonly, strong) NSMutableDictionary *userInfo __attribute__((availability(ios,introduced=5.0)));
|
|
28
|
+
@property (readonly) NSManagedObjectContextConcurrencyType concurrencyType __attribute__((availability(ios,introduced=5.0)));
|
|
29
|
+
- (__kindof NSManagedObject *)objectWithID:(NSManagedObjectID *)objectID;
|
|
18
30
|
- (nullable NSArray *)executeFetchRequest:(NSFetchRequest *)request error:(NSError **)error NS_REFINED_FOR_SWIFT;
|
|
19
31
|
- (NSUInteger)countForFetchRequest:(NSFetchRequest *)request error:(NSError **)error __attribute__((availability(ios,introduced=3.0))) __attribute__((swift_error(nonnull_error)));
|
|
20
32
|
- (void)deleteObject:(NSManagedObject *)object;
|
|
33
|
+
- (void)refreshObject:(NSManagedObject *)object mergeChanges:(BOOL)flag;
|
|
34
|
+
@property (nonatomic, readonly, strong) NSSet<__kindof NSManagedObject *> *insertedObjects;
|
|
35
|
+
@property (nonatomic, readonly, strong) NSSet<__kindof NSManagedObject *> *updatedObjects;
|
|
36
|
+
@property (nonatomic, readonly, strong) NSSet<__kindof NSManagedObject *> *deletedObjects;
|
|
21
37
|
- (BOOL)save:(NSError **)error;
|
|
38
|
+
@property (strong) id mergePolicy;
|
|
39
|
+
- (BOOL)obtainPermanentIDsForObjects:(NSArray<NSManagedObject *> *)objects error:(NSError **)error __attribute__((availability(ios,introduced=3.0)));
|
|
40
|
+
- (void)mergeChangesFromContextDidSaveNotification:(NSNotification *)notification __attribute__((availability(ios,introduced=3.0)));
|
|
22
41
|
- (nullable __kindof NSManagedObject *)existingObjectWithID:(NSManagedObjectID *)objectID error:(NSError **)error __attribute__((availability(ios,introduced=3.0)));
|
|
23
42
|
@end
|
|
24
43
|
NS_ASSUME_NONNULL_END
|
|
@@ -3,5 +3,7 @@
|
|
|
3
3
|
NS_ASSUME_NONNULL_BEGIN
|
|
4
4
|
__attribute__((availability(ios,introduced=3.0))) NS_SWIFT_SENDABLE
|
|
5
5
|
PEACH_SWIFT_CLASS(CoreData) @interface NSManagedObjectID : NSObject <NSCopying>
|
|
6
|
+
@property (getter=isTemporaryID, readonly) BOOL temporaryID;
|
|
7
|
+
- (NSURL *)URIRepresentation;
|
|
6
8
|
@end
|
|
7
9
|
NS_ASSUME_NONNULL_END
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
#pragma once
|
|
2
2
|
#import <Foundation/Foundation.h>
|
|
3
|
+
@class NSEntityDescription;
|
|
3
4
|
NS_ASSUME_NONNULL_BEGIN
|
|
4
5
|
__attribute__((availability(ios,introduced=3.0)))
|
|
5
6
|
PEACH_SWIFT_CLASS(CoreData) @interface NSManagedObjectModel : NSObject <NSCoding, NSCopying, NSFastEnumeration>
|
|
6
7
|
- (nullable instancetype)initWithContentsOfURL:(NSURL *)url;
|
|
8
|
+
@property (strong) NSArray<NSEntityDescription *> *entities;
|
|
9
|
+
- (BOOL)isConfiguration:(nullable NSString *)configuration compatibleWithStoreMetadata:(NSDictionary<NSString *, id> *)metadata __attribute__((availability(ios,introduced=3.0)));
|
|
7
10
|
@end
|
|
8
11
|
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
4
|
+
extern id NSErrorMergePolicy __attribute__((availability(ios,introduced=3.0)));
|
|
5
|
+
extern id NSMergeByPropertyStoreTrumpMergePolicy __attribute__((availability(ios,introduced=3.0)));
|
|
6
|
+
extern id NSMergeByPropertyObjectTrumpMergePolicy __attribute__((availability(ios,introduced=3.0)));
|
|
7
|
+
extern id NSOverwriteMergePolicy __attribute__((availability(ios,introduced=3.0)));
|
|
8
|
+
extern id NSRollbackMergePolicy __attribute__((availability(ios,introduced=3.0)));
|
|
9
|
+
__attribute__((availability(ios,introduced=5.0)))
|
|
10
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSMergePolicy : NSObject
|
|
11
|
+
@property (class, readonly, strong) NSMergePolicy *errorMergePolicy __attribute__((availability(ios,introduced=10.0)));
|
|
12
|
+
@property (class, readonly, strong) NSMergePolicy *rollbackMergePolicy __attribute__((availability(ios,introduced=10.0)));
|
|
13
|
+
@property (class, readonly, strong) NSMergePolicy *overwriteMergePolicy __attribute__((availability(ios,introduced=10.0)));
|
|
14
|
+
@property (class, readonly, strong) NSMergePolicy *mergeByPropertyObjectTrumpMergePolicy __attribute__((availability(ios,introduced=10.0)));
|
|
15
|
+
@property (class, readonly, strong) NSMergePolicy *mergeByPropertyStoreTrumpMergePolicy __attribute__((availability(ios,introduced=10.0)));
|
|
16
|
+
@end
|
|
17
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
4
|
+
__attribute__((availability(ios,introduced=3.0)))
|
|
5
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSPersistentStore : NSObject
|
|
6
|
+
@property (null_resettable, nonatomic, strong) NSDictionary<NSString *, id> *metadata;
|
|
7
|
+
@end
|
|
8
|
+
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreCoordinator.h
CHANGED
|
@@ -4,9 +4,15 @@
|
|
|
4
4
|
@class NSPersistentStore;
|
|
5
5
|
NS_ASSUME_NONNULL_BEGIN
|
|
6
6
|
extern NSString * const NSSQLiteStoreType __attribute__((availability(ios,introduced=3.0)));
|
|
7
|
+
extern NSString * const NSMigratePersistentStoresAutomaticallyOption __attribute__((availability(ios,introduced=3.0)));
|
|
8
|
+
extern NSString * const NSInferMappingModelAutomaticallyOption __attribute__((availability(ios,introduced=3.0)));
|
|
7
9
|
__attribute__((availability(ios,introduced=3.0))) NS_SWIFT_SENDABLE
|
|
8
10
|
PEACH_SWIFT_CLASS(CoreData) @interface NSPersistentStoreCoordinator : NSObject <NSLocking>
|
|
9
11
|
- (instancetype)initWithManagedObjectModel:(NSManagedObjectModel *)model NS_DESIGNATED_INITIALIZER;
|
|
12
|
+
@property (readonly, strong) NSArray<__kindof NSPersistentStore *> *persistentStores;
|
|
13
|
+
- (void)setMetadata:(nullable NSDictionary<NSString *, id> *)metadata forPersistentStore:(NSPersistentStore *)store;
|
|
10
14
|
- (nullable __kindof NSPersistentStore *)addPersistentStoreWithType:(NSString *)storeType configuration:(nullable NSString *)configuration URL:(nullable NSURL *)storeURL options:(nullable NSDictionary *)options error:(NSError **)error;
|
|
15
|
+
+ (nullable NSDictionary<NSString *, id> *)metadataForPersistentStoreOfType:(NSString*)storeType URL:(NSURL *)url options:(nullable NSDictionary *)options error:(NSError **)error __attribute__((availability(ios,introduced=7.0)));
|
|
16
|
+
+ (BOOL)setMetadata:(nullable NSDictionary<NSString *, id> *)metadata forPersistentStoreOfType:(NSString*)storeType URL:(NSURL*)url options:(nullable NSDictionary*)options error:(NSError**)error __attribute__((availability(ios,introduced=7.0)));
|
|
11
17
|
@end
|
|
12
18
|
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
@class NSEntityDescription;
|
|
4
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
5
|
+
__attribute__((availability(ios,introduced=3.0)))
|
|
6
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSPropertyDescription : NSObject <NSCoding, NSCopying>
|
|
7
|
+
@property (nonatomic, readonly, assign) NSEntityDescription *entity;
|
|
8
|
+
@property (nonatomic, copy) NSString *name;
|
|
9
|
+
@property (getter=isOptional) BOOL optional;
|
|
10
|
+
@property (getter=isTransient) BOOL transient;
|
|
11
|
+
@property (nullable, nonatomic, strong) NSDictionary *userInfo;
|
|
12
|
+
@end
|
|
13
|
+
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSRelationshipDescription.h
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
#import <CoreData/NSPropertyDescription.h>
|
|
4
|
+
@class NSEntityDescription;
|
|
5
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
6
|
+
typedef NS_ENUM(NSUInteger, NSDeleteRule) {
|
|
7
|
+
NSNoActionDeleteRule,
|
|
8
|
+
NSNullifyDeleteRule,
|
|
9
|
+
NSCascadeDeleteRule,
|
|
10
|
+
NSDenyDeleteRule
|
|
11
|
+
} ;
|
|
12
|
+
__attribute__((availability(ios,introduced=3.0)))
|
|
13
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSRelationshipDescription : NSPropertyDescription
|
|
14
|
+
@property (nullable, nonatomic, assign) NSEntityDescription *destinationEntity;
|
|
15
|
+
@property (nullable, nonatomic, assign) NSRelationshipDescription *inverseRelationship;
|
|
16
|
+
@property () NSUInteger maxCount;
|
|
17
|
+
@property () NSUInteger minCount;
|
|
18
|
+
@property () NSDeleteRule deleteRule;
|
|
19
|
+
@property (getter=isToMany, readonly) BOOL toMany;
|
|
20
|
+
@end
|
|
21
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -36,16 +36,7 @@ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
|
|
|
36
36
|
@class UIScreen;
|
|
37
37
|
#endif
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
UIImageOrientationUp, // default orientation
|
|
41
|
-
UIImageOrientationDown, // 180 deg rotation
|
|
42
|
-
UIImageOrientationLeft, // 90 deg CCW
|
|
43
|
-
UIImageOrientationRight, // 90 deg CW
|
|
44
|
-
UIImageOrientationUpMirrored, // as above but image mirrored along other axis. horizontal flip
|
|
45
|
-
UIImageOrientationDownMirrored, // horizontal flip
|
|
46
|
-
UIImageOrientationLeftMirrored, // vertical flip
|
|
47
|
-
UIImageOrientationRightMirrored, // vertical flip
|
|
48
|
-
} API_AVAILABLE(watchos(2.0));
|
|
39
|
+
|
|
49
40
|
|
|
50
41
|
/* UIImage will implement the resizing mode the fastest way possible while
|
|
51
42
|
retaining the desired visual appearance.
|
|
@@ -1080,6 +1080,27 @@ Classes:
|
|
|
1080
1080
|
- Selector: 'imageByRemovingVariant'
|
|
1081
1081
|
MethodKind: Instance
|
|
1082
1082
|
SwiftName: 'removingVariant()'
|
|
1083
|
+
- Selector: 'initWithCGImage:scale:orientation:'
|
|
1084
|
+
MethodKind: Instance
|
|
1085
|
+
Availability: nonswift
|
|
1086
|
+
AvailabilityMsg: 'UIKitCore declares the Swift initializer with UIImage.Orientation'
|
|
1087
|
+
- Selector: 'initWithCIImage:scale:orientation:'
|
|
1088
|
+
MethodKind: Instance
|
|
1089
|
+
Availability: nonswift
|
|
1090
|
+
AvailabilityMsg: 'UIKitCore declares the Swift initializer with UIImage.Orientation'
|
|
1091
|
+
- Selector: 'imageWithCGImage:scale:orientation:'
|
|
1092
|
+
MethodKind: Class
|
|
1093
|
+
Availability: nonswift
|
|
1094
|
+
AvailabilityMsg: 'UIKitCore declares the Swift initializer with UIImage.Orientation'
|
|
1095
|
+
- Selector: 'imageWithCIImage:scale:orientation:'
|
|
1096
|
+
MethodKind: Class
|
|
1097
|
+
Availability: nonswift
|
|
1098
|
+
AvailabilityMsg: 'UIKitCore declares the Swift initializer with UIImage.Orientation'
|
|
1099
|
+
Properties:
|
|
1100
|
+
- Name: imageOrientation
|
|
1101
|
+
PropertyKind: Instance
|
|
1102
|
+
Availability: nonswift
|
|
1103
|
+
AvailabilityMsg: 'UIKitCore declares imageOrientation with UIImage.Orientation'
|
|
1083
1104
|
- Name: UIImageConfiguration
|
|
1084
1105
|
- Name: UIImageSymbolConfiguration
|
|
1085
1106
|
Methods:
|
|
@@ -16,7 +16,7 @@ typedef NSString * UINibOptionsKey NS_TYPED_ENUM API_UNAVAILABLE(watchos);
|
|
|
16
16
|
UIKIT_EXTERN UINibOptionsKey const UINibExternalObjects API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
|
|
17
17
|
|
|
18
18
|
@interface NSBundle(UINibLoadingAdditions)
|
|
19
|
-
- (nullable NSArray *)loadNibNamed:(NSString *)name owner:(nullable id)owner options:(nullable NSDictionary<UINibOptionsKey, id> *)options API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos)
|
|
19
|
+
- (nullable NSArray *)loadNibNamed:(NSString *)name owner:(nullable id)owner options:(nullable NSDictionary<UINibOptionsKey, id> *)options API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
|
|
20
20
|
@end
|
|
21
21
|
|
|
22
22
|
@interface NSObject(UINibLoadingAdditions)
|
|
@@ -2408,6 +2408,17 @@ typedef NS_ENUM(NSUInteger, UIPasteControlDisplayMode) {
|
|
|
2408
2408
|
UIPasteControlDisplayModeLabelOnly,
|
|
2409
2409
|
UIPasteControlDisplayModeArrowAndLabel
|
|
2410
2410
|
} API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(tvos, watchos);
|
|
2411
|
+
|
|
2412
|
+
typedef NS_ENUM(NSInteger, UIImageOrientation) {
|
|
2413
|
+
UIImageOrientationUp, // default orientation
|
|
2414
|
+
UIImageOrientationDown, // 180 deg rotation
|
|
2415
|
+
UIImageOrientationLeft, // 90 deg CCW
|
|
2416
|
+
UIImageOrientationRight, // 90 deg CW
|
|
2417
|
+
UIImageOrientationUpMirrored, // as above but image mirrored along other axis. horizontal flip
|
|
2418
|
+
UIImageOrientationDownMirrored, // horizontal flip
|
|
2419
|
+
UIImageOrientationLeftMirrored, // vertical flip
|
|
2420
|
+
UIImageOrientationRightMirrored, // vertical flip
|
|
2421
|
+
} API_AVAILABLE(watchos(2.0));
|
|
2411
2422
|
PEACH_SWIFT_CLASS(UIKitCore) @interface UIColor : NSObject <NSSecureCoding, NSCopying>
|
|
2412
2423
|
@end
|
|
2413
2424
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -module-name Combine
|
|
3
|
+
import Swift
|
|
4
|
+
import _Concurrency
|
|
5
|
+
public protocol Publisher {
|
|
6
|
+
associatedtype Output
|
|
7
|
+
associatedtype Failure : Swift.Error
|
|
8
|
+
}
|
|
9
|
+
final public class ObservableObjectPublisher : Combine.Publisher {
|
|
10
|
+
public typealias Output = Swift.Void
|
|
11
|
+
public typealias Failure = Swift.Never
|
|
12
|
+
public init()
|
|
13
|
+
public func send()
|
|
14
|
+
}
|
|
15
|
+
public protocol ObservableObject : AnyObject {
|
|
16
|
+
associatedtype ObjectWillChangePublisher : Combine.Publisher = Combine.ObservableObjectPublisher where Self.ObjectWillChangePublisher.Failure == Swift.Never
|
|
17
|
+
var objectWillChange: Self.ObjectWillChangePublisher { get }
|
|
18
|
+
}
|
|
@@ -23,3 +23,22 @@ extension SwiftUI.UIViewControllerRepresentable {
|
|
|
23
23
|
extension SwiftUI.UIViewControllerRepresentable where Self.Coordinator == Swift.Void {
|
|
24
24
|
@_Concurrency.MainActor @preconcurrency public func makeCoordinator() -> Swift.Void
|
|
25
25
|
}
|
|
26
|
+
@_Concurrency.MainActor @preconcurrency public protocol UIViewRepresentable : SwiftUICore.View where Self.Body == Swift.Never {
|
|
27
|
+
associatedtype UIViewType : UIKit.UIView
|
|
28
|
+
@_Concurrency.MainActor @preconcurrency func makeUIView(context: Self.Context) -> Self.UIViewType
|
|
29
|
+
@_Concurrency.MainActor @preconcurrency func updateUIView(_ uiView: Self.UIViewType, context: Self.Context)
|
|
30
|
+
@_Concurrency.MainActor @preconcurrency static func dismantleUIView(_ uiView: Self.UIViewType, coordinator: Self.Coordinator)
|
|
31
|
+
associatedtype Coordinator = Swift.Void
|
|
32
|
+
@_Concurrency.MainActor @preconcurrency func makeCoordinator() -> Self.Coordinator
|
|
33
|
+
typealias Context = SwiftUI.UIViewRepresentableContext<Self>
|
|
34
|
+
}
|
|
35
|
+
@_Concurrency.MainActor @preconcurrency public struct UIViewRepresentableContext<Representable> where Representable : SwiftUI.UIViewRepresentable {
|
|
36
|
+
@_Concurrency.MainActor @preconcurrency public let coordinator: Representable.Coordinator
|
|
37
|
+
}
|
|
38
|
+
extension SwiftUI.UIViewRepresentable {
|
|
39
|
+
@_Concurrency.MainActor @preconcurrency public var body: Swift.Never { get }
|
|
40
|
+
@_Concurrency.MainActor @preconcurrency public static func dismantleUIView(_ uiView: Self.UIViewType, coordinator: Self.Coordinator)
|
|
41
|
+
}
|
|
42
|
+
extension SwiftUI.UIViewRepresentable where Self.Coordinator == Swift.Void {
|
|
43
|
+
@_Concurrency.MainActor @preconcurrency public func makeCoordinator() -> Swift.Void
|
|
44
|
+
}
|
package/sdk/ios/usr/lib/swift/SwiftUICore.swiftmodule/arm64-apple-ios-simulator.swiftinterface
CHANGED
|
@@ -14,3 +14,7 @@ public struct Binding<Value> {}
|
|
|
14
14
|
@resultBuilder public struct ViewBuilder {
|
|
15
15
|
public static func buildBlock<Content>(_ content: Content) -> Content where Content : SwiftUICore.View
|
|
16
16
|
}
|
|
17
|
+
public struct AnyView : SwiftUICore.View {
|
|
18
|
+
public typealias Body = Swift.Never
|
|
19
|
+
public var body: Swift.Never { get }
|
|
20
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -module-name UIKit
|
|
3
3
|
@_exported import UIKit
|
|
4
4
|
import Swift
|
|
5
|
+
import _Concurrency
|
|
5
6
|
extension UIKit.UIApplication {
|
|
6
7
|
public typealias State = UIKit.UIApplicationState
|
|
7
8
|
}
|
|
@@ -11,6 +12,9 @@ extension UIKit.UIWindow {
|
|
|
11
12
|
extension UIKit.UIDevice {
|
|
12
13
|
public typealias BatteryState = UIKit.UIDeviceBatteryState
|
|
13
14
|
}
|
|
15
|
+
extension ObjectiveC.NSObject {
|
|
16
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic open var accessibilityElements: [Any]? { @objc get @objc set }
|
|
17
|
+
}
|
|
14
18
|
extension UIKit.NSLayoutConstraint {
|
|
15
19
|
public typealias Relation = UIKit.NSLayoutRelation
|
|
16
20
|
public typealias Attribute = UIKit.NSLayoutAttribute
|
|
@@ -47,6 +47,7 @@ void *pthread_get_stackaddr_np(pthread_t);
|
|
|
47
47
|
int pthread_threadid_np(pthread_t, __uint64_t * _Nullable);
|
|
48
48
|
struct __darwin_pthread_handler_rec **__peach_darwin_cleanup_stack(void);
|
|
49
49
|
int pthread_cancel(pthread_t) __asm__("__peach_darwin_pthread_cancel");
|
|
50
|
+
void pthread_exit(void * _Nullable) __attribute__((noreturn)) __asm__("__peach_darwin_pthread_exit");
|
|
50
51
|
int pthread_setcancelstate(int , int * _Nullable) __asm__("__peach_darwin_pthread_setcancelstate");
|
|
51
52
|
int pthread_setcanceltype(int , int * _Nullable) __asm__("__peach_darwin_pthread_setcanceltype");
|
|
52
53
|
void pthread_testcancel(void) __asm__("__peach_darwin_pthread_testcancel");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// darwin's signal.h in place of the installed libc's. functions the installed
|
|
2
2
|
// libc also defines with its own numbering (raise, bsd_signal, psignal) have
|
|
3
|
-
// their own symbols. waiting for a signal needs asynchronous delivery, which
|
|
3
|
+
// their own symbols. waiting for a signal that is not already pending needs asynchronous delivery, which
|
|
4
4
|
// a wasm instance has no source of.
|
|
5
5
|
#ifndef _USER_SIGNAL_H
|
|
6
6
|
#define _USER_SIGNAL_H
|
|
@@ -43,7 +43,7 @@ int sigprocmask(int, const sigset_t * __restrict, sigset_t * __restrict);
|
|
|
43
43
|
int sigrelse(int);
|
|
44
44
|
void (* _Nullable sigset(int, void (* _Nullable)(int)))(int);
|
|
45
45
|
int sigsuspend(const sigset_t *) __PEACH_DARWIN_UNAVAILABLE("Darwin asynchronous signals are not implemented for WebAssembly");
|
|
46
|
-
int sigwait(const sigset_t * __restrict, int * __restrict)
|
|
46
|
+
int sigwait(const sigset_t * __restrict, int * __restrict);
|
|
47
47
|
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE >= 200809L || defined(_DARWIN_C_SOURCE)
|
|
48
48
|
void psignal(int, const char *) __asm__("__peach_darwin_psignal");
|
|
49
49
|
#endif
|
package/sdk/native-hashes.json
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
{
|
|
43
43
|
"path": "wasm/include/machine/limits.h",
|
|
44
44
|
"nativeSha256": "50345f1ab843fca787a38c552a84177e678d79dab86e714434f94f2546839357",
|
|
45
|
-
"sha256": "
|
|
45
|
+
"sha256": "f970318bcb9a7e991924f78c075ba48cf99292372088e0adc0daf9018164f839",
|
|
46
46
|
"change": "one __wasm32__ branch before the native #else: arm/limits.h's selection inline, with arm/_limits.h's __DARWIN_CLK_TCK in place of its include and USE_CLANG_LIMITS fixed at 0",
|
|
47
47
|
"reason": "the native selection errors on any architecture but i386, x86_64, arm and arm64. wasm32 takes arm's values, as machine/_types.h does. A modules build on iOS takes the integer limits from clang's limits.h, which includes Darwin's; the wasm view finds Darwin's ahead of clang's, whose builtin module would bring the installed libc's limits with it, so the branch always defines them."
|
|
48
48
|
},
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
{
|
|
78
78
|
"path": "System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes",
|
|
79
79
|
"nativeSha256": "025956c54d34391f2c422b736710641a860694436f5b8a34d719ade2d9ed3220",
|
|
80
|
-
"sha256": "
|
|
81
|
-
"change": "hide NSArray arrayWithObjects:count: from Swift, nest FileManager sync control and URLSession delayed request and multipath enums, import networking singleton and selector names,
|
|
80
|
+
"sha256": "f05f7e0edce96ebd5d6c1c5d816b6d5a1c922a2c969ce971748bb10edd3d3ed5",
|
|
81
|
+
"change": "hide NSArray arrayWithObjects:count: from Swift, nest FileManager sync control and URLSession delayed request and multipath enums, import networking singleton and selector names, hide native members whose Swift implementation supplies the existing typed declaration, and leave unnested the enums of classes Foundation declares in Swift, which declare those nested types themselves",
|
|
82
82
|
"reason": "the Objective-C header owns the networking classes and categories; their Swift implementation must use the native imported names without the obsolete moved-type aliases or duplicate Swift-owned session classes"
|
|
83
83
|
},
|
|
84
84
|
{
|
package/skills/contrast/SKILL.md
CHANGED
|
@@ -52,6 +52,7 @@ automation, inspecting the render tree, and managing sims.
|
|
|
52
52
|
| `peach open` | run a React Native, Swift or Android app in the simulator |
|
|
53
53
|
| `peach preview` | publish an Expo export or bundle as a standalone preview |
|
|
54
54
|
| `peach package` | package one app as a standalone macOS app |
|
|
55
|
+
| `peach map` | capture screens tied to routes and publish the branch map |
|
|
55
56
|
| `peach list` | list connected sims or available launch drivers |
|
|
56
57
|
| `peach use` | select a connected sim |
|
|
57
58
|
| `peach skill` | install and inspect bundled peach agent skills |
|
package/src/home-paths.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
// ├── profiles/
|
|
17
17
|
// │ └── profiles.json storage profile metadata
|
|
18
18
|
// ├── cache/
|
|
19
|
-
// │ └── peach-runtime-<version>.tar.
|
|
19
|
+
// │ └── peach-runtime-<version>.tar.zst
|
|
20
20
|
// ├── daemon.json lockfile: pid, ports, active runtime, heartbeat
|
|
21
21
|
// ├── dev-bridges/ live Vite dev bridge records, keyed by bound port
|
|
22
22
|
// ├── fetch-transport/ the http/2 image transport's tls identity and port,
|