Taking first plunge with collection views and am running into this error:
Terminating app due to uncaught exception \'NSInternalInconsistencyException
Swift4.0
Whenever your UITableViewCell is xib at that time you must have to register with UITableView.
UITableViewCell
UITableView
override func viewDidLoad(){ super.viewDidLoad() self.yourtableview.register(UINib(nibName: "yourCellXIBname", bundle: Bundle.main), forCellReuseIdentifier: "YourCellReUseIdentifier") }