Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
final class HogeViewController: UIViewContoller {
private lazy var tableViewController: UITableViewController = {
let vc = UITableViewController(style: .Plain)
let tableView = vc.tableView
let tableFooterView = UIView()
tableView.tableFooterView = tableFooterView
tableView.rowHeight = 44
tableView.layoutMargins = UIEdgeInsetsZero
tableView.delegate = self
tableView.dataSource = self
vc.view.snp_makeConstraints { $0.edges.equalToSuperview() }
return vc
private var tableView: UITableView { return tableViewController.tableView }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.