
Explore building a dynamic chat app with SwiftUI, ChatGPT, MVVM, and SwiftData, while managing conversations locally and enhancing UX with TypeKit.
Create a SwiftUI chat app in Xcode 15, use MVVM, and set up a root chat view with a navigation title and a bottom input with a send button.
Build a functional chat interface in SwiftUI by implementing a message view with sent and received messages, an empty state, loading indicators, and color-defined layouts for me and ChatGPT.
Explore how to set up OpenAI API access, including account creation, authentication with bearer tokens, base URL, headers, and composing requests with model, message, and temperature.
Build a chat view model to send messages and receive OpenAI chat API responses. Use a main actor to manage state and encode requests in JSON with API key headers.
please modify and replace the old Model "text-davinci-003", to be "gpt-3.5-turbo-instruct" or any new related gpt-3.5-turbo model
Fetch network data with async/await using URLSession, verify http 200, decode JSON into the OpenAI model, and update the chat view model by sending messages to the OpenAI API.
Builds a SwiftUI chat app from scratch with MVVM, OpenAI API integration, and Postman testing, plus UI components and a chat view model.
Learn SwiftData, the modern persisting framework, to add local storage to a SwiftUI ChatGPT app, creating models for web data and performing save, load, and delete operations.
Build a Swift data view in SwiftUI, add a trailing toolbar, and present it via screen cover or sheet, using a Swift data model to save, load, and delete data.
Define a swift data model with date, question, answer, and a unique id to prevent duplicates. Set up a model container and context, then insert and save questions and answers.
Fetch and display saved chat data from swiftdata in a swiftui list using a disclosure group, showing each chat's question and answer, with plans to copy or delete later.
Copy a chat answer to the clipboard and show a top notification to confirm the action. Implement swipe-to-delete for SwiftData chats in a SwiftUI disclosure group.
Learn to build and display tips with TipKit in the shared app framework, using bubble views or a custom button to reveal swift data tips in the chat app.
Learn to integrate TipKit into a SwiftUI chat app by adding a favorite tip with title, message, and image, configuring tips at startup, and wiring a button to display tips.
Review TipKit integration in the chat app, showing the new tip button, TipKit in the favorites tab, and how to customize with title, message, and image.
This course is designed to empower you with the skills and knowledge needed to create cutting-edge SwiftUI chat applications that go beyond the ordinary. You'll learn how to integrate ChatGPT, an advanced conversational AI, seamlessly into your SwiftUI projects, allowing your apps to engage in intelligent and dynamic conversations with users.
But that's not all! In addition to mastering ChatGPT integration, you'll dive into the Model-View-ViewModel (MVVM) architectural pattern, ensuring your code remains clean, maintainable, and scalable.
To make your apps even more powerful, we'll introduce you to two essential frameworks: SwiftData and TipKit. SwiftData will equip you with the tools to handle data efficiently, ensuring your chat applications run smoothly. TipKit, on the other hand, will provide you with a range of tips and tricks to enhance the overall user experience, making your apps more user-friendly and engaging.
Whether you're an experienced SwiftUI developer looking to level up your skills or a newcomer eager to explore the exciting world of SwiftUI, this course is tailored to meet your needs. Join us on this thrilling journey and unlock the potential to create captivating, interactive, and intelligent SwiftUI chat applications that stand out from the crowd. Get ready to bring your app development dreams to life!