Daily iOS
Networking

Synchronous requests and moving to async/await

The legacy code has a function that waits on a URLSession response with DispatchSemaphore to make it "synchronous," and older spots still use NSURLConnection.sendSynchronousRequest. Why is that a problem?

Submit