I'm working though the "Teach yourself ios 5 programming in 24 hours".
In hour 11, when adding a new View Controller class, the author references the "+" button at the bottom left of the XCODE IDE. He then selects IOS in the top left and Cocoa Touch.
Now, on his screenshot there's a UIViewController Subclass icon shown in the right list of icons, but on my xcode (4.3.2), there isn't.
My icon list has these icons:
1. Objective-C class
2. Objective-C category
3. Objective-C class extension
4. Objective-C protocol
5. Objective-C test case
I tried the "Objective C-class extension" -- which looked like the closest to what he had -- and then filled in the name of the class and picked "UIViewController".
I then saved this new view set up in to the main project folder (all I saw get created was a '.h.' file.
However, when I then add a view controller to the form, and go into the identity inspector, I do not see the class name I added in the subclass step above like the author does in his Figure 11-17.
Something is missing here.
Is there a new way to do what's in the "current" book that describes this?
Thanks in advance.
- m
In hour 11, when adding a new View Controller class, the author references the "+" button at the bottom left of the XCODE IDE. He then selects IOS in the top left and Cocoa Touch.
Now, on his screenshot there's a UIViewController Subclass icon shown in the right list of icons, but on my xcode (4.3.2), there isn't.
My icon list has these icons:
1. Objective-C class
2. Objective-C category
3. Objective-C class extension
4. Objective-C protocol
5. Objective-C test case
I tried the "Objective C-class extension" -- which looked like the closest to what he had -- and then filled in the name of the class and picked "UIViewController".
I then saved this new view set up in to the main project folder (all I saw get created was a '.h.' file.
However, when I then add a view controller to the form, and go into the identity inspector, I do not see the class name I added in the subclass step above like the author does in his Figure 11-17.
Something is missing here.
Is there a new way to do what's in the "current" book that describes this?
Thanks in advance.
- m