ios - How to make UIViewControllerSubclass a subclass of UITableViewController -


i'm going through xcode tutorial , it's asking me create uiviewcontrollersubclass file , make subclass of uitableviewcontroller.

i'm using xcode 5.1.1 , still cannot find uiviewcontrollersubclass template in creating new file.

someone please tell me how in latest version of xcode.

here tutorial reference https://www.youtube.com/watch?v=2p8gctq62ou (21:15)

thanks in advance

uitableviewcontroller is subclass of uiviewcontroller, when create new uitableviewcontroller, subclass of both uitableviewcontroller , uiviewcontroller.

enter image description here

to create subclass of uitableviewcontroller in xcode, either go file -> new file, or hit command+n, select cocoa touch under ios, , select objective-c class:

enter image description here

you prompted window below. name new class , select uitableviewcontroller in subclass drop-down box. "newtableviewcontroller" subclass of uitableviewcontroller, subclass of uiviewcontroller described above.

enter image description here


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -