I'm working through the Big Nerd Ranch iOS Programming book (4th ed, which focuses on Objective C) using XCode 11 and I am having trouble sorting out how to add a UIView.
As soon as I send this message in didFinishLaunchingWithOptions
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
I get an unrecognized selector message.
I've tried removing the launch and main storyboards with no success, and enabling multiple windows. This is in a single view app project (perhaps I should just try an empty project?)
What am I missing or not understanding? I chose this book because I am trying to learn Objective-C (not Swift) and the debugger doesn't tell me much about what's wrong here.
Thanks.