Ir para o conteúdo principal
0

Por enquanto, esta lição está em inglês.

Waiting without freezing

Loading a profile or saving a score takes time. If your app simply stopped to wait, the screen would freeze. Swift's async and await let a function pause while the rest of the app keeps running.