To mitigate this, add the following two lines:
listTableViewController = [[ListTableViewController alloc] init];
myInfoTableViewController = [[MyInfoTableViewController alloc] init];
also move your releases back to the positions you had them, straight after you added each of the viewcontrollers to their respective navigation controllers.
add the lines i mentioned before you create each of those navigation controllers. Add the myInfo one after the release of listTableViewController, to save on memory. Loading lazily and releasing early is good practice for apps that may become very high in memory usage.
|