top | item 41194909

(no title)

aezell | 1 year ago

I'm interested to see how this goes.

I recently used ChatGPT and Claude to help myself build a simple app for my wife. Just listing things and being able to edit them basically. It was VERY frustrating as both models get pretty basic things wrong around the plumbing stuff like configuring SwiftData or CoreData.

I tried it with a version of the prompt(s) I used in that project and I got an app that's just a white page.

discuss

order

gsundeep|1 year ago

Thanks for giving it a try! I just took a look at your prompt and it looks well defined. I'll investigate the generated code and reply back here.

gsundeep|1 year ago

I made some slight modifications to your prompt and got something working:

Here's the prompt: https://i.imgur.com/lUjLTsd.png Plain text: https://pastebin.com/HTUjcy7M

The two differences from your prompt are I changed "A listing of horses" to "A listing of horses that the user has added" and at the end I added "Use NSUserDefault for data persistence, not coredata". I'm modifying the model prompt as something like that should definitely not be needed in the app specifications.

Some screenshots of the generated app: https://i.imgur.com/IwEKuZW.png https://i.imgur.com/zONc9Fm.png