Filters

Hide filters
Platform
Content Type
Difficulty

All Tutorials · 13 Results

Contained in: Advanced Swift Concurrency swift
iOS & Swift
Advanced Swift Concurrency
Harness the power of Swift Concurrency through usage of async/await and suspending functions. Learn how Swift Actors can be used in concurrent environments. Explore the benefits of Swift 6 Language Mode and how it can enhance your code…
iOS & Swift

Lesson in Advanced Swift Concurrency

Swift 6 Language Mode

…previous lessons, you learned how to use modern Swift concurrency patterns — but how do you know if you’re using them in the recommended way? Swift 6 introduces a new language mode, designed to enforce stricter concurrency checks. This helps you write safer and more predictable code with fewer data…
iOS & Swift

Lesson in Advanced Swift Concurrency

Swift 6 Language Mode

…this lesson you will learn about Swift 6’s new language mode. It is designed to enforce stricter concurrency checks, helping you write safer and more predictable code…
iOS & Swift

Lesson in Advanced Swift Concurrency

Swift Actors

…this lesson you will learn about Swift actors and how they help manage shared state with thread-safety. You will learn about the actor keyword and @MainActor attribute and how you can build upon existing async / await calls…
iOS & Swift

Lesson in Advanced Swift Concurrency

Swift Actors

…previous lesson, you learned about asynchronous programming in Swift; by using the async and await keywords, the code becomes simple to write and easy to read. Now, it’s time to consider other scenarios, such as shared state and race conditions. Shared State Shared state adheres to the SOLID Single…
iOS & Swift

Lesson in Advanced Swift Concurrency

Swift 6 Language Mode

Introduces Swift 6 language mode to correctly use actors and async/await without data races…
iOS & Swift

Lesson in Advanced Swift Concurrency

Swift 6 Language Mode

Recap Swift 6 language mode and how it can help you write thread-safe code…
iOS & Swift

Lesson in Advanced Swift Concurrency

Swift Actors

Introduces Swift Actors and how they help manage shared state…
iOS & Swift

Lesson in Advanced Swift Concurrency

Suspending Functions with Async/Await

…best way to do that? After all, there are many ways to make an API request and retrieve the result. The simplest approach is Swift’s new async/await structured concurrency. It provides a succinct and coherent code style for all your asynchronous needs. In order to realize what makes this…
iOS & Swift

Lesson in Advanced Swift Concurrency

Suspending Functions with Async/Await

Introduces the concept and need for Swift async/await concurrency…
iOS & Swift

Lesson in Advanced Swift Concurrency

Swift Actors

Revisits Swift Actors and how they help with thread safety…
iOS & Swift

Lesson in Advanced Swift Concurrency

Suspending Functions with Async/Await

…this lesson you will learn the foundational concepts of asynchronous programming in Swift using async and await. You will learn how Swift suspends functions, allowing other threads to perform work while waiting for asynchronous tasks to complete. This understanding forms the basis for creating efficient, non-blocking applications…
iOS & Swift

Lesson in Advanced Swift Concurrency

Suspending Functions with Async/Await

Congratulations! You’ve just put Swift’s powerful async/await to use and built an app with it. The code is concise and coherent for readers — and extensible for future code! async/await simplifies asynchronous tasks by providing a sequential, readable syntax. This suspension of functions allows threads to perform other tasks…