Incomplete implementation of BNRAppDelegate


#1

Hi,

Working on the first excercise to create the iTahDoodle application, I get a compiler warning that @implementation BNRAppDelegate is not complete. When I run the application, the iOS Simulator launches and I get a blank screen. The output error says, “Application windows are expected to have a root view controller at the end of application launch” In the sample code that I’m copying from the book, I don’t see a root view controller in application: didFinishLaunchingWithOptions:

What am I missing here?

I checked main.m and the last argument is set to the name of the class that implements the UIApplicationDelegate protocol (BNRAppDelegate).

Regards,
Greg


#2

You can safely ignore this warning for now. You will get to meet the root view controllers if and when you start reading the BNR iOS books.

That means you have declared something but have not implemented.


#3

Thanks. Your direction was helpful. I found the issue - in one of the method calls I had invoked a valid but incorrect instance variable.

Greg