Returning data from async call in Swift function Returning data from async call in Swift function ios ios