also looking at this
iOS Phase 8: the presented pickers — ratchet 58 → 53, last mechanism landed
#90
11 files
+5752
-12
| @@ -44,6 +44,9 @@ const zig_sources = [_][]const u8{ | ||
| 44 | 44 | @embedFile("src/bridge_mobile_location.zig"), |
| 45 | 45 | @embedFile("src/bridge_mobile_locrecording.zig"), |
| 46 | 46 | @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"), | |
| 47 | 50 | }; |
| 48 | 51 | |
| 49 | 52 | /// The action list lives in the `switch action` block, and nowhere else. |
| @@ -81,7 +84,10 @@ const dispatch_end = "func webView("; | ||
| 81 | 84 | /// would make Zig dispatch and refuse an action the shim serves correctly. |
| 82 | 85 | /// 58 after the event channel landed and unblocked the location tier: the |
| 83 | 86 | /// first actions that push a stream to the page rather than answering a call. |
| 84 | const 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. | |
| 90 | const max_not_yet_migrated: usize = 53; | |
| 85 | 91 | |
| 86 | 92 | fn dispatcherRegion() []const u8 { |
| 87 | 93 | const begin = std.mem.indexOf(u8, swift_spec, dispatch_begin) orelse return ""; |