Error on page 478?


I’m going through the book a second time and I noticed I ran in to this the first time I went through it as well"

When localizing BNRAssetTypeViewController.m, the init method looks like this:

if (self) { self.navigationItem.title = @"Asset Type"; } return self; }

But mine looked like this!:

- (instancetype)init { return [super initWithStyle:UITableViewStylePlain]; }

Which means that initWithStyle does not get called when init gets called, the way it seems that the book wants us to do it.
When checking the “solution” provided by Big Nerd Ranch I can see that they do still have the super call above the if statement though. Bit hazy


You are correct. This got brought up in the Core Data forum, so I’ll link to my response there: viewtopic.php?f=504&t=8504


Ah! Thanks.