データをリロードする前にテーブル ビューのすべての行を削除したいのですが、うまくいきません。
ビューコントローラーで、この AFNetworking リクエストから配列を取得します。
- (void)viewDidLoad
    [[LocationApiClient sharedInstance] getPath:@"locations.json" 
                                     parameters:nil 
                                        success:
                ^(AFHTTPRequestOperation *operation, id response) {
                    NSLog(@"Response: %@", response);
                    NSMutableArray *location_results = [NSMutableArray array];
                    for (id locationDictionary in response) {
                       Location *location = [[Location alloc] initWithDictionary:locationDictionary];
                       [location_results addObject:location];  
                    }
                    self.location_results = location_results;
                    [self.tableView reloadData];
                    }
                                    failure:
                ^(AFHTTPRequestOperation *operation, NSError *error) {
                    NSLog(@"Error fetching locations!");
                    NSLog(@"%@", error);
                }];  
}
そして、データを削除してから、このボタンで再ロードしたい
- (IBAction)locationPressed:(id)sender {
    [[Location sharedSingleton].locationManager startUpdatingLocation];
    [self viewDidLoad];
    NSMutableArray *location_results = [NSMutableArray array];
    [location_results removeAllObjects];
    [self.tableView reloadData];
}
しかし、それは行を削除していません。既に存在する行の上でリロードが発生していることがわかります。助言がありますか?