ReviewOS

also looking at this

craft-native/craft

feat(ios): signInWithApple, and scanQRCode's real reason — ratchet 25 → 23

#122
Merged glennmichael123 wants to merge feat/ios-sign-in-with-apple into main
6 files +591 -5
packages/zig/src/ios_delegate.zigmodified+10-0
Changes to packages/zig/src/ios_delegate.zig
@@ -62,6 +62,16 @@ pub const enc = struct {
6262 /// `B` is C99 `_Bool`: on 64-bit Apple platforms `__OBJC_BOOL_IS_BOOL` is
6363 /// defined, so `BOOL` is `bool` rather than `signed char`.
6464 pub const bool_two_objects: [:0]const u8 = "B@:@@";
65 /// `- (id)m:(id)a` — one object argument, **returning an object**.
66 /// `presentationAnchorForAuthorizationController:` is this shape: it hands
67 /// back the `UIWindow` the sheet is presented over.
68 ///
69 /// The first character is the return type, so this differs from
70 /// `void_one_object` only in that leading `@`. Getting it wrong is not a
71 /// compile error — the runtime would read a window pointer out of a
72 /// function declared to return nothing, and the sheet would come up over
73 /// garbage or not at all.
74 pub const object_one_object: [:0]const u8 = "@@:@";
6575};
6676
6777/// One method to add to a class.