Skip to content

Instantly share code, notes, and snippets.

@kichiemon
Created July 24, 2019 22:39
Show Gist options
  • Save kichiemon/a0e4a5b8319d141c679e23a092f64197 to your computer and use it in GitHub Desktop.
Save kichiemon/a0e4a5b8319d141c679e23a092f64197 to your computer and use it in GitHub Desktop.
CATransaction.begin()
CATransaction.setCompletionBlock { [weak self] () in
self?.tableView.reloadData()
}
self.data = data
CATransaction.commit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment