Check out How to hookup UITableView Swift by JR. Here is an excerpt:
Implement the protocols, get a reference to the tableView in the VC, and set yourself as the x2 delegates.
Then implement these x2 methods
Give your prototype cell a reuse identifier
The full article is available here.