Let me start by saying that this is not a question about setting the re-use identifier. The problem is that I'm getting the following error, despite having the re-use identifier set in the storyboard (and despite manually registering it using register(cellClass:forCellReuseIdentifier:)
).
*** Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason:
'unable to dequeue a cell with identifier TCAccountGroups - must register a
nib or a class for the identifier or connect a prototype cell in a storyboard'
I am using both a Search Bar Controller and NSFetchedResultsController to make a searchable table that the user can select between existing options, or any user-defined option.
Any suggestions would be greatly appreciated. If I'm missing any useful information, I'll be more than happy to provide.
Edit: I forgot to mention that I'm using Swift 3.0.1, and XCode 8.0.1 on Mac OS Sierra 10.12.1.
Edit 2: The second-to-last message in XCode is:
*** Assertion failure in -[UISearchResultsTableView
dequeueReusableCellWithIdentifier:forIndexPath:],
/BuildRoot/Library/Caches/com.apple.xbs
/Sources/UIKit_Sim/UIKit-3600.5.2/UITableView.m:6593
So maybe there is a bug in the UISearchResultsTableView
class?
Edit 3: Here are screenshots of my connections:
https://i.stack.imgur.com/7Y8TA.png
https://i.stack.imgur.com/M7IU2.png
https://i.stack.imgur.com/VAaeF.png
https://i.stack.imgur.com/EJLvp.png
My apologies for the links, but SO wouldn't let me save the images inline.