I was wondering whether anyone knew how to solve this problem?
*** Terminating app due to uncaught exception \'NSInvalidArgumentException\', reason: \
seems like you aren't using your subclass of the table cell. The error shows you try to use regular UITableCell instances. Make sure you set the cell class in the nib or storyboard as FolderCellTableViewCell,Please follow steps below,It may help you
You're casting the cell you get to a FolderCellTableViewCell
but in fact the cell you receive from [foldertableView dequeueReusableCellWithIdentifier:foldersIdentifier];
is a UITableViewCell
not a FolderCellTableViewCell
. Make sure your storyboard table view cell is of class FolderCellTableViewCell
.