Reputation: 6657
When creating cocoa touch classes, the new file is always empty:
import Cocoa
class UpcomingEvents: UITableViewController {
}
How can I set up Xcode to allow for everything to populate with the tableView override functions automatically upon creation of file?
Upvotes: 5
Views: 502
Reputation: 5186
You code shows that you created Cocoa classes not Cocoa Touch. When creating file choose iOS and then select Cocoa Touch Classes and create file sub class of UITableViewController. Then you will get as you expected.
Upvotes: 7