Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

UITableView detailText not updating


Completed chapter 4 of More IOS 6 Dev and I noticed that the detailText of the UITableView of my HeroListController doesn't contain the new information entered in HeroDetailController. It seems to depend on what the chosen sortDescriptor is, so if detailText is the top sortDescriptor then that is updated fine and title isn't and vice versa. This is pretty much driving me around the bend, I can't see a good reason for one to update and not the other.
The data is being saved fine, if I stop and restart the application the list of super heros is displayed fine. If I override viewWillAppear in HeroListController and add a reloadData the table looks fine, only problem is the code shouldn't require this to work. I have been working from the Alpha version of the book and just noticed that the final release is available so I'll recheck the code tomorrow.

Interested if anyone else had this issue.

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [self.heroTableView reloadData];



  • Thanks Howard!

    I just noticed this error in the text and will be sending the errata to Apress.


Sign In or Register to comment.