Skip to content

Instantly share code, notes, and snippets.

@igorkulman
Created January 31, 2018 19:30
Show Gist options
  • Save igorkulman/189dc6afea62f6418793d862ab63d8d6 to your computer and use it in GitHub Desktop.
Save igorkulman/189dc6afea62f6418793d862ab63d8d6 to your computer and use it in GitHub Desktop.
@objc func saveTapped(sender: AnyObject) {
let db = SomeDatabse()
db.SaveSomeData()
let api = SomeApi()
api.doSomeRequest {
self.updateSomeUI()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment