Как swift получить классы в OC Я использую [UITableViewCell class] в Swift?Обе части кода могут работать, но в чем разница?
let tableView = UITableView(frame: self.view.frame, style: UITableViewStyle.grouped)
tableView.delegate = self
tableView.dataSource = self
tableView.estimatedSectionHeaderHeight = 0
tableView.estimatedSectionFooterHeight = 0
tableView.register(UITableViewCell.classForCoder(), forCellReuseIdentifier: "cellID")
let tableView = UITableView(frame: self.view.frame, style: UITableViewStyle.grouped)
tableView.delegate = self
tableView.dataSource = self
tableView.estimatedSectionHeaderHeight = 0
tableView.estimatedSectionFooterHeight = 0
tableView.register(UITableViewCell.self, forCellReuseIdentifier: "cellID")