Programming With Mobile Applications:
Android, iOS, and Windows Phone 7

Home | Purchase Copies | Instructor Companion Site | Student Companion Site

Apple Has Eliminated the UIViewController subclass template

On p. 182, the screen shot indicates that you can choose the UIViewController subclass as a template object. In Xcode versions 4.3 and later, this template has been eliminated. Instead, choose the Objective-C class template and click Next.

The screen shot on p. 183 is still mostly accurate - depending on your version of Xcode. Name your class and then make sure you choose UIViewController in the subclass dropdown. Also, make sure the With .xib checkbox is checked so that Xcode will generate the .xib file for you.