Guest User

Untitled

a guest
Oct 22nd, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. *** Assertion failure in -[UITableView _dequeueReusableCellWithIdentifier:forIndexPath:usingPresentationValues:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3694.4.18/UITableView.m:7732
  2. *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier cell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'
  3.  
  4. let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath)
  5.  
  6. tableView.register(UITableViewCell.self, forCellReuseIdentifier: "cell")
Add Comment
Please, Sign In to add comment