I try to use the UIRefreshControl with swift 1.2 and works fine except the UI. It is jumping and I dont know why. Here is what I am doing:
class ViewControll
Try this One will working good
var tableViewController = UITableViewController(style: UITableViewStyle.Plain)
tableViewController.tableView = self.myTableView
self.refreshControl = UIRefreshControl()
self.refreshControl.addTarget(self, action: #selector(self.getConnections),forControlEvents: .ValueChanged)
tableViewController.refreshControl = self.refreshControl