Search
Rich's Mad Rants
Powered by Squarespace

Creating iOS 5 Apps Discussion > Page 223 viewWillAppear

HI Richard,

First of all - thanks - I finally have a book that I can follow and learn from in a well thought out way!!!

Not sure if this is a typo or what, but both in the book and the source code I downloaded, the viewWillAppear in DetailViewController.m calls [super viewDidAppear:animated]. To my naive point of view, it should call [super viewWillAppear:animated]. Is there a reason for calling Did instead of Will?

Thanks,
Hubcap

March 4, 2012 | Unregistered CommenterHubcap

Yes. that should definitely be [super viewWillAppear:animated]. I'll add that to the errata and fix the source code.

Thanks for the heads up.

-Rich-

March 7, 2012 | Registered CommenterRichard Warren