WORK IN PROGRESS
UIKit-cross-platform is based on the following APIs for rendering and accessing other device functionatlities:
- SDL_gpu for graphics rendering
- SDL2 for additional device functionalities
- SDL_ttf for fonts rendering
Swift code is compiled:
- with Swift Package Manager for Android
- with Xcode for Mac
On Android the compiled Swift Code is called through the JNI (Java Native Interface) similar to C/C++ Code with the NDK.
This illustration shows with the example of a Button
how the rendering hierarchy works based on SDL_gpu
.