swift-weather-app icon indicating copy to clipboard operation
swift-weather-app copied to clipboard

Load Swift in a separate thread

Open OlofT opened this issue 3 years ago • 0 comments

In order for DispatchQueue.main not to deadlock, Swift needs to be initiated on a bg-thread. This is needed when calling e.g. DispatchQueue.main.async, etc.

At least this is my current working theory! :)

OlofT avatar Aug 26 '21 08:08 OlofT