Skip to content

Glossary: SwiftUI

.task

Also written: task

A modifier that runs async work when a view appears and cancels it if the view goes away first. It is where the menu screen starts loading.

Where the book teaches it

Related terms

async / await.refreshable