Closed rustanacexd closed 9 years ago
Where to put custom load/grab data code?
tableView.addPullToRefreshWithAction({ NSOperationQueue().addOperationWithBlock { sleep(2) NSOperationQueue.mainQueue().addOperationWithBlock { self.tableView.stopPullToRefresh() } } }, withAnimator: PacmanAnimator())
Is it inside the mainQueue or outside?
Just replace sleep with your custom code
ahh I see. ok thanks a lot!
You are welcome :)
Where to put custom load/grab data code?
Is it inside the mainQueue or outside?