Trouble running async functions in background threads (concurrency) – Ios swift
I'm having trouble making async functions run in background threads (to prevent blocking the main thread). Below is a method that takes about 5 seconds to run. From what I've learned, it seemed like making the function async and marking…