Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MiniCursoIFSPSwiftTableViewRegisterCells
override func viewDidLoad() {
super.viewDidLoad()
//TableView
self.tableView.delegate = self
self.tableView.dataSource = self
self.tableView.register(UITableViewCell.classForCoder(), forCellReuseIdentifier: "cell")
self.tableView.register(HomeTableViewCell.classForCoder(), forCellReuseIdentifier: homeCellIndentifier)
self.tableView.register(UINib(nibName:"HomeTableViewCell", bundle: nil), forCellReuseIdentifier: homeCellIndentifier)
}
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.