Configure player

Close

WWDC Index does not host video files

If you have access to video files, you can configure a URL pattern to be used in a video player.

URL pattern

preview

Use any of these variables in your URL pattern, the pattern is stored in your browsers' local storage.

$id
ID of session: wwdc2021-10133
$eventId
ID of event: wwdc2021
$eventContentId
ID of session without event part: 10133
$eventShortId
Shortened ID of event: wwdc21
$year
Year of session: 2021
$extension
Extension of original filename: mp4
$filenameAlmostEvery
Filename from "(Almost) Every..." gist: [2021] [Session 10133] Protect m...

WWDC21 • Session 10133

Protect mutable state with Swift actors

Swift • iOS, macOS, tvOS, watchOS • 28:32

Data races occur when two separate threads concurrently access the same mutable state. They are trivial to construct, but are notoriously hard to debug. Discover how you can stop these data races in their tracks with Swift actors, which help synchronize access to data in your code. Discover how actors work and how to share values between them. Learn about how actor isolation affects protocol conformances. And finally, meet the main actor, a new way of ensuring that your code always runs on the main thread when needed. To get the most out of this session, we recommend first watching “Meet async/await in Swift.”

Speakers: Dario Rexin, Doug Gregor

Open in Apple Developer site