I'm having hard time to end the pull to refresh feature.
Even if I call the endRefreshing() on refershControl, the spinner stays there. The tableview is refreshed properly though.
Here is my swift code :
@IBAction func refereshInvoked() {
refresh_data()
self.refreshControl.endRefreshing()
}
Since I'm pretty new with Swift and Cocoa, I'm probably doing something wrong.
Thank you