UIRefreshController Ending Animation Issue

ios, swift, uirefreshcontrol, xcode

Solution

To anyone having this issue, you must call your `endRefreshing` method before you reload the table data. Otherwise when the table updates it will override the refresher and cause it to look buggy.

Problem

When I call for `self.refreshControl.endRefreshing()` it snaps the tableView back to it original spot like it should. How should I go about animating it so that it fluently returns to its original spot on `endRefreshing()`?

Original source