Some of my users eperience a crash here. This normally happens, when the cell is nil. But this is not possible as tableView.dequeueReusableCell(withIdentifier: "Cell", for: indexPath) always returns a cell. This only happens since I started using HVTableView. What could be the reason?
Here is the error message:
Fatal Exception: NSInternalInconsistencyException
UITableView (<HVTableView: 0x106088e00; baseClass = UITableView; frame = (0 0; 375 574); clipsToBounds = YES; autoresize = RM+BM; tintColor = UIExtendedSRGBColorSpace 0 0 0 0; gestureRecognizers = <NSArray: 0x1c025daf0>; layer = <CALayer: 0x1c0220440>; contentOffset: {0, 0}; contentSize: {375, 3779}; adjustedContentInset: {0, 0, 0, 0}>) failed to obtain a cell from its dataSource (<HVTableView: 0x106088e00; baseClass = UITableView; frame = (0 0; 375 574); clipsToBounds = YES; autoresize = RM+BM; tintColor = UIExtendedSRGBColorSpace 0 0 0 0; gestureRecognizers = <NSArray: 0x1c025daf0>; layer = <CALayer: 0x1c0220440>; contentOffset: {0, 0}; contentSize: {375, 3779}; adjustedContentInset: {0, 0, 0, 0}>)
Some of my users eperience a crash here. This normally happens, when the cell is nil. But this is not possible as
tableView.dequeueReusableCell(withIdentifier: "Cell", for: indexPath)always returns a cell. This only happens since I started using HVTableView. What could be the reason?Here is the error message: