First declare a property like this in the ViewController
@property (nonatomic) UIRefreshControl *refreshControl;
Later in the viewDidLoad() set up the refreshControl as given below:
self.refreshControl = [[UIRefreshControl alloc]init];
[self.tableView addSubview:self.refreshControl];
[self.re...