Unleash the power of concurrency!
This module will equip you with the tools and techniques to handle multiple
tasks simultaneously, keeping your app responsive and efficient.
Discover the fundamentals of async/await, conquer network calls,
and handle background tasks, all while ensuring a smooth, responsive user experience.
By Alessandro Di Nepi.
In this first lesson, you’ll delve into mastering the fundamental principles of async/await,
a powerful paradigm in modern asynchronous programming.
You’ll learn to identify and mark asynchronous functions using the async keyword,
understanding when and where to apply it to signal asynchronous execution.
Additionally, you’ll explore the transformative power of the await keyword,
mastering its ability to pause execution until asynchronous operations are complete.
In this lesson, you’ll learn how to implement network calls using URLSession‘s new async/await APIs.
You’ll focus on parsing network responses at the end of the session and also on how to handle updates
during the session to add visual feedback to the user.
Finally, you’ll ensure the downloaded data are presented correctly in the UI,
providing a seamless and glitch-free user experience.
In this lesson, you’ll learn to execute background tasks using the SwiftUI
Task instructions and how to assign the proper priority to the task.
You’ll explore techniques for safely updating the user interface with
background task results and maintaining a seamless and responsive user
experience.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.