Войти
  • 9581Просмотров
  • 1 месяц назадОпубликованоKarin Prater

Building an iOS Ghibli App with SwiftUI, MVVM, and Swift Concurrency

In this SwiftUI tutorial, we dive into modern iOS development by building a Ghibli app using SwiftUI and MVVM architecture. We explore various aspects such as state management, async/await concurrency, and the new observation feature in Swift. The app features a tabbed interface, movie lists, favorites, search functionality, and settings. We also touch on advanced topics like task groups, task cancellation, error handling, and testing. Learn about structuring iOS apps, sharing data across views, and implementing efficient search functionalities. 00:00 Introduction to Modern iOS Development 01:12 Overview of the App and Features 05:38 Setting Up the Project in Xcode 08:15 Exploring the Ghibli API 11:54 Creating Models and Fetching Data 17:39 Building the UI with SwiftUI 18:49 Implementing View Models and Networking 21:31 Handling Errors and State Management 46:15 Integrating Navigation and Detail Views 50:22 Using Task Groups for Parallel Execution 01:09:41 Setting Up the Film Detail Screen 01:10:44 Implementing the View Model 01:11:29 Handling Async Operations 01:19:33 Creating Reusable Components 01:42:51 Adding Tab Views 01:48:09 Managing Data Flow 01:59:49 Implementing Favorites Feature 02:20:59 Debugging Auto Completion Issues 02:21:02 Setting Up Favorites View Model 02:21:43 Handling Async and Await in View Models 02:22:22 Previewing and Toggling Favorites 02:24:03 Adding Director and Release Date 02:27:59 Creating Reusable Components 02:36:47 Managing Dependencies and Environment 02:39:14 Implementing Search Features 02:50:51 Testing and Debugging Search Functionality 02:57:22 Concurrency and Task Management 03:25:11 Final Thoughts and Next Steps If you liked what you learned and you want to see more, check out one of my courses! 👨‍💻 my macOS development course 👨‍💻 my Core Data and SwiftUI course 👩🏻‍💻 SwiftUI layout course 👩🏻‍💻 Combine Framework course ⬇️ Download project files: links / resources: - SwiftUI Architecture Blueprint - A Practical Guide to Scalable iOS Applications: - Ghibli API: ]( - Get URL from Xcode asset catalogs: ------------------- 👉 About Karin Prater Hi, I’m Karin Prater—an iOS developer and educator helping you master Swift, SwiftUI, and real-world iOS app development. I create no-fluff tutorials on SwiftUI architecture, UIKit, Combine, Core Data, and how to build iPhone and macOS apps with best practices. Subscribe for weekly deep dives into Xcode, Swift design patterns, and everything you need to grow as an Apple developer. New videos every week on iOS development, SwiftUI, and app architecture that actually scales. #SwiftUI