I was using a UITableView for developing part of my app and had hence used this following code:
- (void)reload {
    _products = nil;
    [self.tableView reloadData];
    [[RageIAPHelper sharedInstance] requestProductsWithCompletionHandler:^(BOOL success, NSArray *products) {
        if (success) {
            _products = products;
            [self.tableView reloadData];
        }
        //[self.refreshControl endRefreshing];
        [self.tableView reloadData];
        [self.tableView setNeedsDisplay];
    }];
}
However, now I want to use this code in a UIViewController and remove any instances of the tableview entirely. What should I do about the self.tableView areas? How can I make this work?
Sorry if it sounds novice but Im sure its straightforward
Thank you!!
 
     
     
    