Hacker News new | ask | show | jobs
by jacobx 293 days ago
Yeah, the prompt is just asking Claude to generate a SwiftUI iPhone app. The recent models have been able to generate really good Swift code, so we just have a set of best practice instructions we've been accumulating (telling it to make an app with @main, pointing it to/away from some APIs, encouraging it to persist things in UserDefaults, etc).

I think most of that would work pretty well for making SwiftUI desktop apps too.

1 comments

It would be lovely if the community had this knowledge about API's to avoid and approached to adopt. SwiftUI programming is a tightrope walk of stuff that works over a chasm of time lost to testing.