Questions
- What object should you use to make web requests?
a) URLSession
.
b) URLRequest
.
c) WebTask
.
- How are web requests executed?
a) Asynchronously. b) Synchronously.
- What is a typealias?
a) A closure callback. b) A tuple. c) An alias for any other type, for instance a callback.
- What happens if you use managed objects on the wrong thread?
a) Nothing. b) They won't save. c) Your app might crash.
- Which object do you need if you make an HTTP POST request?
a) POSTURLRequest
.
b) URLRequest
.
c) POSTRequest
.
- What is ATS?
a) An encryption protocol. b) Apple's way to enforce secure web requests. c) Apple's name for HTTPS.