Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- guard let cell = cell as? YourCellClass else {
- assertionFailure("Cell's class not set properly")
- return UITableViewCell()
- }
- cell.setupUI(text: data[indexPath.row]
- return cell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement