user6702783 user6702783 - 3 months ago 10
Swift Question

The same issue but I cannot understand the answer

Cannot select Custom Class for Table View Controller (UITableViewController)

Someone has asked the exactly I want to ask, but I do not understand which file should I add the "@interface YOURCLASSNAME : UITableViewController" into to make customer class for uitableview Controller?

Any help appreciated.

Answer

Just choose File -> New -> File.. -> Source -> Cocoa Touch Class from menu to create a new controller as your custom controller.

enter image description here

You can also reuse a already existed one.

(also notice the answer you refer use objc syntax, which differ from swift's)