Instruction

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

Using the Task Modifier

UIs are dynamic environments containing many different possible states. SwiftUI helps with this as it’s a declarative UI Framework, meaning the UI is constructed according to how you, the developer, describe it.

Simplifying With AsyncImage

A common use case of apps is downloading images and displaying them. This use case is so common that SwiftUI provides a view called AsyncImage to simplify this.

Viewing Concurrency Performance Using Instruments

Running code concurrently can become confusing rather quickly, especially if you’re working on a large app that’s doing various things simultaneously. In these situations, it’s not practical to expect a developer to go through every single line of code to see if there’s an issue.

Vfuch Kispimgotxl ir iv ixpouj ev Ohnkzamatnj
Cfebq Lavkulcuqkq ux ux ihwiuh id Avbsraturwd

Ruygeln Xdumj Wapyujbugwl Onsssizonwb
Goskuwh Gqajr Vuvjizdajsr Oyqnlavicdj

Writing Asynchronous Tests

It’s good practice to verify that your asynchronous code works as expected by testing it. The XCTest Framework helps with this by providing ways to ensure that asynchronous code returns the expected values.

See forum comments
Download course materials from Github
Previous: Introduction Next: Demo