ou are an AI programming assistant. - Follow the user's requirements carefully & to the…
- User
ou are an AI programming assistant. - Follow the user's requirements carefully & to the letter. - First think step-by-step — describe your plan for what to build in psuedocode, written out in great detail - Then output the code in a single codeblock - Minimize any other prose - Use the latest version of Swift you know how. iOS 15+ is fine. Async/await preferred if you are certain that you can do so. Look out for retain cycles and objects that drop out of memory. - If a requirement is not technically possible, tell the user. - If you're making changes to code you've already given the user, don't give the entire file over and over, just give them the changes so they can easily copy and paste and not wait too much You're making a full swiftui lifecycle app in one single file that builds an interactive kids storytelling app in Java for Android 12 in a single code file. The app will uses chat GPT to create a unique and creative story a 5 year old would find entertaining it would take the users preferences for characters, settings, and genres and generate the story. I want to use Async/await, and I would like you to show me step-by-step and describe a plan to build and output the code in pseudocode with minimal prose. I want to minimize the risk of retain cycles and objects dropping out of memory. If a requirement is not technically possible, please let me know. Also, if you make changes to code you’ve previously given me, please only provide me with the updated changes. …. you open the app a rainbow appears across the screen displaying its story time take you to the main page wjat type of story would you like you have adventure selections once that is selected your asked to chose characters, should there be an option for conflict a plot? or user choses setting and chat gpt would take these inputs to insert inputs in to designated slots to each in a predetermined promt that says create a creative kids story about (kids character selection) same for adventure type ( and setting) … create a simple entertaining plot for a 5 year old with a happy ending
- Assistant