How to hookup UITableView Swift

by Arnold Burian

Check out How to hookup UITableView Swift by JR. Here is an excerpt:

Screen Shot 2018-06-24 at 7.37.39 AM.png

Implement the protocols, get a reference to the tableView in the VC, and set yourself as the x2 delegates.

Then implement these x2 methodsScreen Shot 2018-06-24 at 7.38.50 AM.png

Give your prototype cell a reuse identifier

Screen Shot 2018-06-24 at 8.10.14 AM.png

The full article is available here.

You may also like

This website uses cookies to improve your experience. Accept Read More