WWDC21: Meet async/await in Swift | Apple
Swift now supports asynchronous functions — a pattern commonly known as async/await. Discover how the new syntax can make your code easier to read and understand. Learn what happens when a function suspends, and find out how to adapt existing completion handlers to asynchronous functions.
Explore related documentation, sample code, and more:
SE-0310: Effectful read-only properties: https://github.com/apple/swift-evolution/blob/main/proposals/0310-effectful-readonly-properties.md
SE-0300: Continuations for interfacing async tasks with synchronous code: https://github.com/apple/swift-evolution/blob/main/proposals/0300-continuation.md
SE-0297: Concurrency Interoperability with Objective-C: https://github.com/apple/swift-evolution/blob/main/proposals/0297-concurrency-objc.md
SE-0296: Async/await: https://github.com/apple/swift-evolution/blob/main/proposals/0296-async-await.md
The Swift Programming Language: Concurrency: https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html
Efficiency awaits: Background tasks in SwiftUI: https://developer.apple.com/videos/play/wwdc2022/10142
Visualize and optimize Swift concurrency: https://developer.apple.com/videos/play/wwdc2022/110350
Eliminate data races using Swift Concurrency: https://developer.apple.com/videos/play/wwdc2022/110351
Use Xcode for server-side development: https://developer.apple.com/videos/play/wwdc2022/110360
Bring Core Data concurrency to Swift and SwiftUI: https://developer.apple.com/videos/play/wwdc2021/10017
Discover concurrency in SwiftUI: https://developer.apple.com/videos/play/wwdc2021/10019
What's new in AppKit: https://developer.apple.com/videos/play/wwdc2021/10054
Meet AsyncSequence: https://developer.apple.com/videos/play/wwdc2021/10058
What's new in CloudKit: https://developer.apple.com/videos/play/wwdc2021/10086
Use async/await with URLSession: https://developer.apple.com/videos/play/wwdc2021/10095
Protect mutable state with Swift actors: https://developer.apple.com/videos/play/wwdc2021/10133
Explore structured concurrency in Swift: https://developer.apple.com/videos/play/wwdc2021/10134
What’s new in AVFoundation: https://developer.apple.com/videos/play/wwdc2021/10146
What‘s new in Swift: https://developer.apple.com/videos/play/wwdc2021/10192
Swift concurrency: Update a sample app: https://developer.apple.com/videos/play/wwdc2021/10194
Swift concurrency: Behind the scenes: https://developer.apple.com/videos/play/wwdc2021/10254
Diagnose unreliable code with test repetitions: https://developer.apple.com/videos/play/wwdc2021/10296
Monday@WWDC21: https://developer.apple.com/videos/play/wwdc2021/10321
Friday@WWDC21: https://developer.apple.com/videos/play/wwdc2021/10325
More Apple Developer resources:
Video sessions: https://apple.co/VideoSessions
Documentation: https://apple.co/DeveloperDocs
Forums: https://apple.co/DeveloperForums
App: https://apple.co/DeveloperApp