ListViewController *lvc =... Crashing


#1

Hi,

I just started chapter 25 and during the first pages I’m asked to type in some code but that apparently make my app crash when I’m building it.

The line it is all about is in the NerdfeedAppDelegate.h and the line looks like this:

ListViewController *lvc = [[ListViewController alloc] initWithStyle:UITableViewStylePlain];
When I’m typing in the line and starting initWithStyle no autocompletion shows up. It’s like I’m missing to import something.
Am I the only one getting this error?

Martin


#2

Is ListViewController a subclass of UITableViewController? Sounds like the superclass wasn’t changed.