I have a UITableView that changes its data very often. (It's just NSStrings, stored in an NSArray.)
Method 1> [self loadMyArray];
Method 2> [myTable reloadData];
Where would I put those 2 methods... so they get called EVERY time the view is displayed?
I assume some likely places would be:
viewWillLoad
viewDidLoad
viewWillAppear
viewDidAppear
But I can't seem to find the placement that is the one I need: Each time the view appears... but BEFORE the UITableView builds itself.
If I put my 2 methods inside either "Load" delegate... it doesn't get refreshed often enough.
If I put my 2 methods inside either "Appear" delegate... I notice the data is loaded twice. (Wasteful)