In production Swift 6 & SwiftUI (Networking), what is the primary engineering purpose of 'URLSession Async/Await & Generic Type-Safe APIClient'?
-
A. Build lightweight, rock-solid iOS networking directly on Apple's native HTTP/3-capable
URLSession! - B. Executing heavy disk I/O and synchronous network requests directly on the main UI rendering thread.
- C. Hardcoding production API secrets and plaintext auth tokens inside bundled client resources.
- D. Disabling lifecycle cancellation and holding strong references to destroyed screen contexts.
✓ Reveal Answer & Explanation
Correct Answer: Option A
'URLSession Async/Await & Generic Type-Safe APIClient' is used in production Networking specifically for: Build lightweight, rock-solid iOS networking directly on Apple's native HTTP/3-capable URLSession!