swift-weather-app
swift-weather-app copied to clipboard
Load Swift in a separate thread
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! :)