You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for being late.
In fact, your requirement has nothing to do with the framework, it is an iOS development problem.
And hope this can still help you.
// DON'T register UITableViewCell in the beginning// Otherwise the UITableViewCell with .subtitle style will be no chance to be created// tableView.register(UITableViewCell.self)func tableView(_ tableView:UITableView, cellForRowAt indexPath:IndexPath)->UITableViewCell{letcell= tableView.dequeueReusableCell(with:UITableViewCell.self)??UITableViewCell(style:.subtitle, reuseIdentifier:UITableViewCell.defaultReuseIdentifier)
cell.textLabel?.text =hellos[indexPath.row %5]
cell.detailTextLabel?.text ="(\(indexPath.section), \(indexPath.row))"// cell.render(text: "(\(indexPath.section), \(indexPath.row)) \(hellos[indexPath.row % 5])")return cell
}
For example how to create
UITableViewCell
with no subclassing but with visibledetailTextLabel
?The text was updated successfully, but these errors were encountered: