The biggest Phase 1D cluster: the iOS scene-lifecycle entry that runs at every launch. UIWindow alloc/init, UIViewController alloc/init, GL view alloc/init/install, root-view-controller wiring, layer access + setOpaque:, EAGL drawable-properties dictionary build, screen/nativeScale DPI scaling, makeKeyAndVisible, UITextField subview install, CADisplayLink construct + addToRunLoop. Every return shape this file uses (void, *void, f64) and every arg shape (BOOL via `xx 0`/`xx 1`, multi-arg selectors `displayLinkWithTarget:selector:` and `setObject:forKey:`) is exercised by this single launch. Net -44 lines on this commit (104 → 60). Also drops a stale `EAGLContext := objc_getClass(...)` decl that wasn't referenced inside this function — EAGL context creation lives in uikit_create_gl_context (already migrated in 1.29). uikit.sx is now 868 lines (-69 cumulative across Phase 1D). iOS-sim chess regression smoke: app launches cleanly, board renders with status-bar clearance, sharp DPI scaling, compositor working, display-link tick driving frames. Every part of the migrated function is on the launch path and all of it succeeds.
35 KiB
35 KiB