I have a function to download web content. When I call it and call another function after, XCode execute second one first. Even though I put web function in this method
dispatch_async(dispatch_get_main_queue()){
getWeather()
}
println(notValed)