Əsas məzmuna keç
0

Bu dərs hələlik ingiliscədir.

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.