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.
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:
you prompted window below. name new class , select uitableviewcontroller in subclass drop-down box. "newtableviewcontroller" subclass of uitableviewcontroller, subclass of uiviewcontroller described above.
Comments
Post a Comment