ReviewOS

also looking at this

craft-native/craft

iOS Phase 9: calendar and contacts — ratchet 53 → 48

#91
Merged glennmichael123 wants to merge feat/ios-phase9-data into main
6 files +5708 -1
packages/zig/src/ios_dispatch.zigmodified+11-0
Changes to packages/zig/src/ios_dispatch.zig
@@ -29,6 +29,15 @@ const bridge_mobile_motion = ;
2929const bridge_mobile_imagepicker = ;
3030const bridge_mobile_filepicker = ;
3131const bridge_mobile_contactpicker = ;
32const bridge_mobile_calendar = ;
33const bridge_mobile_contacts = ;
34// `bridge_mobile_speech.zig` is deliberately NOT in the chain. Its
35// capability_actions table is empty — the two speech actions were researched
36// in full and left with the Swift shim — so a module here would iterate,
37// return UnknownAction, and cost a comparison to serve nothing. Keeping it in
38// the chain would also read as coverage it does not provide, which is the
39// habit this migration exists to break. The file stays as the record of that
40// decision and of the Swift behaviour a future port has to match.
3241
3342const objc = objc_runtime.objc;
3443
@@ -239,6 +248,8 @@ const mobile_bridges = .{
239248 bridge_mobile_imagepicker.ImagePickerBridge,
240249 bridge_mobile_filepicker.FilePickerBridge,
241250 bridge_mobile_contactpicker.ContactPickerBridge,
251 bridge_mobile_calendar.CalendarBridge,
252 bridge_mobile_contacts.ContactsBridge,
242253};
243254
244255/// Narrow an arbitrary handler error to one the page's error codes can express.