gontovnik/DGElasticPullToRefresh

when i run the demo ,i add startLoading ,found bug

karmaios opened this issue · 1 comments

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()
})

    })