WWDC21: Meet async/await in Swift | Apple

Опубликовано: 08 Октябрь 2024
на канале: Apple Developer
6,836
163

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-evolut...
SE-0300: Continuations for interfacing async tasks with synchronous code: https://github.com/apple/swift-evolut...
SE-0297: Concurrency Interoperability with Objective-C: https://github.com/apple/swift-evolut...
SE-0296: Async/await: https://github.com/apple/swift-evolut...
The Swift Programming Language: Concurrency: https://docs.swift.org/swift-book/Lan...
Efficiency awaits: Background tasks in SwiftUI: https://developer.apple.com/videos/pl...
Visualize and optimize Swift concurrency: https://developer.apple.com/videos/pl...
Eliminate data races using Swift Concurrency: https://developer.apple.com/videos/pl...
Use Xcode for server-side development: https://developer.apple.com/videos/pl...
Bring Core Data concurrency to Swift and SwiftUI: https://developer.apple.com/videos/pl...
Discover concurrency in SwiftUI: https://developer.apple.com/videos/pl...
What's new in AppKit: https://developer.apple.com/videos/pl...
Meet AsyncSequence: https://developer.apple.com/videos/pl...
What's new in CloudKit: https://developer.apple.com/videos/pl...
Use async/await with URLSession: https://developer.apple.com/videos/pl...
Protect mutable state with Swift actors: https://developer.apple.com/videos/pl...
Explore structured concurrency in Swift: https://developer.apple.com/videos/pl...
What’s new in AVFoundation: https://developer.apple.com/videos/pl...
What‘s new in Swift: https://developer.apple.com/videos/pl...
Swift concurrency: Update a sample app: https://developer.apple.com/videos/pl...
Swift concurrency: Behind the scenes: https://developer.apple.com/videos/pl...
Diagnose unreliable code with test repetitions: https://developer.apple.com/videos/pl...
Monday@WWDC21: https://developer.apple.com/videos/pl...
Friday@WWDC21: https://developer.apple.com/videos/pl...

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


Смотрите видео WWDC21: Meet async/await in Swift | Apple онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Apple Developer 08 Октябрь 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 6,836 раз и оно понравилось 163 посетителям.