WWDC21: Meet async/await in Swift | Apple
HTML-код
- Опубликовано: 25 ноя 2024
- 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: github.com/app...
SE-0300: Continuations for interfacing async tasks with synchronous code: github.com/app...
SE-0297: Concurrency Interoperability with Objective-C: github.com/app...
SE-0296: Async/await: github.com/app...
The Swift Programming Language: Concurrency: docs.swift.org...
Efficiency awaits: Background tasks in SwiftUI: developer.appl...
Visualize and optimize Swift concurrency: developer.appl...
Eliminate data races using Swift Concurrency: developer.appl...
Use Xcode for server-side development: developer.appl...
Bring Core Data concurrency to Swift and SwiftUI: developer.appl...
Discover concurrency in SwiftUI: developer.appl...
What's new in AppKit: developer.appl...
Meet AsyncSequence: developer.appl...
What's new in CloudKit: developer.appl...
Use async/await with URLSession: developer.appl...
Protect mutable state with Swift actors: developer.appl...
Explore structured concurrency in Swift: developer.appl...
What’s new in AVFoundation: developer.appl...
What‘s new in Swift: developer.appl...
Swift concurrency: Update a sample app: developer.appl...
Swift concurrency: Behind the scenes: developer.appl...
Diagnose unreliable code with test repetitions: developer.appl...
Monday@WWDC21: developer.appl...
Friday@WWDC21: developer.appl...
More Apple Developer resources:
Video sessions: apple.co/Video...
Documentation: apple.co/Devel...
Forums: apple.co/Devel...
App: apple.co/Devel...