My UITable View does not refresh from its data source of an array, which is edited but the Modal view controller.
I have confirmed that the editing works fine.
And I have this tried these,
- (void)viewWillAppear:(BOOL)animated
{
[myTableView reloadData];
NSLog(@"Routines: %@", routines);
NSLog(@"refreshed!");
}
and
[self.myTableView reloadData];
but to no luck, and the method is being called, because 'refreshed!' is being logged.
So, what am i doing wrong? perhaps something in IB? The Table view does display with some initial data. So this leads me to think that the delegate and the data source works just fine. So im totally confused.