Open karmaios opened 8 years ago
if i try like this ,it work
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(0.1 * Double(NSEC_PER_SEC))), dispatch_get_main_queue(), { self.tableView.dg_startLoading() dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(10 * Double(NSEC_PER_SEC))), dispatch_get_main_queue(), { self.tableView.dg_stopLoading() })
})