UITableViewにregisterというメソッドが生えてることに気づいたので
試しに使ってみた
・API
iOS5.0から生えてた
https://developer.apple.com/documentation/uikit/uitableview/1614937-register
・通常
let cell = _tableView.dequeueReusableCell(withIdentifier: cellName) ?? UITableViewCell(style: .subtitle, reuseIdentifier: cellName)
・registerを使う
tableView.register(UITableViewCell.self, forCellReuseIdentifier: CELL_NAME) let cell = _tableView.dequeueReusableCell(withIdentifier: cellName)!
参考
https://qiita.com/abouch/items/3617ce37c4dd86932365