ReviewOS

also looking at this

craft-native/craft

iOS Phase 8: the presented pickers — ratchet 58 → 53, last mechanism landed

#90
Merged glennmichael123 wants to merge feat/ios-phase8-ui into main
11 files +5752 -12
packages/zig/test/ios_conformance_test.zigmodified+7-1
Changes to packages/zig/test/ios_conformance_test.zig
@@ -44,6 +44,9 @@ const zig_sources = [_][]const u8{
4444 @embedFile("src/bridge_mobile_location.zig"),
4545 @embedFile("src/bridge_mobile_locrecording.zig"),
4646 @embedFile("src/bridge_mobile_motion.zig"),
47 @embedFile("src/bridge_mobile_imagepicker.zig"),
48 @embedFile("src/bridge_mobile_filepicker.zig"),
49 @embedFile("src/bridge_mobile_contactpicker.zig"),
4750};
4851
4952/// The action list lives in the `switch action` block, and nowhere else.
@@ -81,7 +84,10 @@ const dispatch_end = "func webView(";
8184/// would make Zig dispatch and refuse an action the shim serves correctly.
8285/// 58 after the event channel landed and unblocked the location tier: the
8386/// first actions that push a stream to the page rather than answering a call.
84const max_not_yet_migrated: usize = 58;
87/// 53 after the presented pickers — image, document and contact — landed on
88/// the delegate factory, the last of the three mechanisms this migration
89/// needed. Everything remaining is a repetition of a proven pattern.
90const max_not_yet_migrated: usize = 53;
8591
8692fn dispatcherRegion() []const u8 {
8793 const begin = std.mem.indexOf(u8, swift_spec, dispatch_begin) orelse return "";