Xcoding with Alfian

Mobile development articles, videos, and tutorials

Video Tutorial - Refactor MovieDB App from SwiftUI 1 to SwiftUI 3 with iOS 15 & Swift 5.5 Async Await

Alt text

Here are the main tasks that we will implement to update to SwiftUI 3.0: - Fix existing bugs, improve efficiency and performance (e.g using the new LazyHStack instead of HStack for the movies carousel) - Use @StateObject property wrapper - Use Searchable, Refreshable, and Task Modifiers - Adopt Swift 5.5 Concurrent APIs such as Async Function, GroupTask, and MainActor. - Refactor current codebase to make the views more composable, modular, and reusable.