New and improved completion handlers

func fetchData(url: String){  print("Fetching data...")
print("Data has been fetched!")
}

Instagram

You’re basically about to get your developer pregnant…

Alec Mather

Developer 💻 || Writer 📝

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store