From what I've seen, Xcode/Codex is way better at creating great UIKit-or-AppKit-based apps than great SwiftUI apps, probably because there's so much more source material to reference and train on, and hierarchies are more rigid and well-defined.
If agentic programming like this was possible 6, 7 years ago (…) it's quite possible something like SwiftUI would never have shipped