How can GLib support on iOS be implemented?

Recently, I used the GLib/GTK4/libadwaita/Vala technology stack, with AI assistance, to develop several Android apps.

After trying them out, I felt there was a certain degree of feasibility, so I attempted to explore iOS support. After multiple rounds of conversation with AI, I confirmed that it is technically feasible, so I explored further: the first step is GLib support for the iOS platform. How should the code be organized?

  1. Follow the existing pattern and mix it into the various module directories.
  2. Create separate platform-specific directories for independent support, e.g.,
    darwin/glib
    darwin/gio
    darwin/gmodule
    darwin/gthread.