SHARE
TWEET

Untitled

a guest Aug 6th, 2018 128 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.     dispatch_async(dispatch_get_global_queue(0, 0), ^{
  3.             // Instead of sleeping, I do a webrequest here.
  4.             [NSThread sleepForTimeInterval: 5];
  5.  
  6.             dispatch_async(dispatch_get_main_queue(), ^{
  7.                 [tableView reloadData];
  8.                 [self.refreshControl endRefreshing];
  9.             });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top