|Apr 18, 2012, 06:16 AM||#1|
Question from Chapter 13 in Teach Yourself iOS 5 Programming in 24 Hours
When I was trying to follow along with the book's text: "selecting the root view controller scene’s view controller object and opening the Identity Inspector (Option+Command+3). Use the Class drop-down menu to pick the GenericViewController."
I did not see this class (I created this subclass in the previous step) in the list for the root view controller. I tried to click on each of the items' hierarchy in object list on the left side of XCODE-- and even clicking different parts of the root view controller in IB, but the class never was available back on the right side (using Option+Command+3). If I typed "GenericViewController directly into the "Class" field, XCODE just beeped at me.
The GenericViewController does show up in the other three objects, referenced in the book, however.
Has anyone else run into this problem?
I think I'm just missing a step, but I don't see it.
|Apr 19, 2012, 06:01 PM||#2|
Generic View Controller
I have never heard of the GenericViewController class. Maybe it means a regular UIViewController? Try just typing UIViewController for the class and see what happens.
|Apr 19, 2012, 06:09 PM||#3|
The problem actually was documented in the book's site "errata". I just got it working (I should have looked there first).
This issue with the navigation controller behavior seems to be yet another thing that changed around (or between) 4.2 and 4.3 of XCODE.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Mac programming should be more like iOS programming.||moonman239||Mac Programming||13||Feb 17, 2014 02:37 PM|
|Used iOS 7 for several hours and....||Campbellot||iOS 7||7||Jun 16, 2013 09:04 AM|
|Best book for iOS programming?||MaxOrlcok||iPhone/iPad Programming||12||Mar 22, 2013 11:54 AM|
|Windows Phone programming for iOS programmers (and iOS coding tips) – Part I||Menneisyys2||iPhone/iPad Programming||5||Jan 9, 2013 07:03 PM|
|iOS programming resources||sinser||iPhone/iPad Programming||3||Oct 26, 2012 08:33 PM|
All times are GMT -5. The time now is 08:34 AM.