Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.18 KB | None | 0 0
  1. guard let cell = cell as? YourCellClass else {
  2.     assertionFailure("Cell's class not set properly")
  3.     return UITableViewCell()
  4. }
  5. cell.setupUI(text: data[indexPath.row]
  6. return cell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement