UIKit
viewDidLoad and network requests
A teammate kicks off a network request directly in viewDidLoad and updates the UI when the response arrives. What problems can this cause?
viewDidLoad and network requests
A teammate kicks off a network request directly in viewDidLoad and updates the UI when the response arrives. What problems can this cause?
SwiftUIMultiple choiceAdvanced
In a SwiftUI view that loads data, what's the correct statement about how these two piece…
#lifecycle #task #cancellation
UIKitMultiple choiceIntro
When a screen appears for the first time, which order do the UIViewController lifecycle m…
#viewdidload #lifecycle
ConcurrencyShort answerBasics
In Swift Concurrency, when you create a Task { }, when and where does that code run?
#task #cancellation
ConcurrencyMultiple choiceExpert
In this Swift Concurrency code, which statement about what actually happens right after t…
#task #cancellation