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

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/stroughtonsmith/statuses/116029301292604115 on your instance and quote it. (Note that quoting is not supported in Mastodon.)

RE: mastodon.social/@stroughtonsmi

All of my attempts at having LLMs create SwiftUI apps ended up in frustration, but I've been playing around with a UIKit app for a couple of days now and getting very interesting results 👀

I think the syntax of SwiftUI itself is particularly confusing for LLMs. I've seen many models mess up things such as opening and closing braces when writing complex SwiftUI code. They also tend to bake too much business logic in view code instead of modularizing things, which doesn't happen when doing UIKit.

0