Last active
December 24, 2018 22:32
-
-
Save tsraveling/0f7743b048bcd281e2fb004163741904 to your computer and use it in GitHub Desktop.
Flexible tableview setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Set up tableview | |
| self.tableView.dataSource = self | |
| self.tableView.delegate = self | |
| self.tableView.rowHeight = UITableView.automaticDimension | |
| self.tableView.estimatedRowHeight = 45 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment