Just came across an interesting error message. In iOS11 my tableview is going crazy when refreshing. I have not seen this before nor can I find anything to assist me in finding the bug causing it.
Can anyone point me in the right direction? Thanks.
[Assert] UITableView internal inconsistency: _visibleRows and _visibleCells must be of same length. _visibleRows: {0, 13}; _visibleCells.count: 16, _visibleCells: (
"<UITableViewCell: 0x7fc2450ec400; frame = (0 0; 375 5); text = ''; autoresize = W; layer = <CALayer: 0x604001c34620>>",
"<NMCarouselCell: 0x7fc23f8cda00; baseClass = UITableViewCell; frame = (0 5; 375 155); clipsToBounds = YES; autoresize = W; layer = <CALayer: 0x6000030249e0>>",
"<UITableViewCell: 0x7fc245024a00; frame = (0 160; 375 5); text = ''; autoresize = W; layer = <CALayer: 0x60400103cb40>>",
"<NMPostTitleAvatarComponentCell: 0x7fc23f3c6c00; baseClass = UITableViewCell; frame = (0 165; 375 62); clipsToBounds = YES; autoresize = W; gestureRecognizers = <NSArray: 0x60000264e7f0>; layer = <CALayer: 0x600002c28a20>>",
"<NMMessageComponentCell: 0x7fc23fb38800; baseClass = UITableViewCell; frame = (0 227; 375 36.112); autoresize = W; gestureRecognizers = <NSArray: 0x600002443db0>; layer = <CALayer: 0x6000016362c0>>",
"<NMPostCategoryComponentCell: 0x7fc23f90ac00; baseClass = UITableViewCell; frame = (0 263.112; 375 26); autoresize = W; gestureRecognizers = <NSArray: 0x600002a438a0>; layer = <CALayer: 0x600001a22aa0>>",
"<NMThanksReplyComponentCell: 0x7fc23f9ba800; baseClass = UITableViewCell; frame = (0 289.112; 375 44); autoresize = W; gestureRecognizers = <NSArray: 0x6000020525d0>; layer = <CALayer: 0x600000c31580>>",
"<UITableViewCell: 0x7fc23f90b200; frame = (0 333.112; 375 5); text = ''; autoresize = W; layer = <CALayer: 0x600002025ec0>>",
"<NMHeaderComponentCell: 0x7fc23ff29e00; baseClass = UITableViewCell; frame = (0 338.112; 375 22); clipsToBounds = YES; autoresize = W; gestureRecognizers = <NSArray: 0x600001e421c0>; layer = <CALayer: 0x6000028280c0>>",
"<NMPostTitleAvatarComponentCell: 0x7fc23f164800; baseClass = UITableViewCell; frame = (0 360.112; 375 62); clipsToBounds = YES; autoresize = W; gestureRecognizers = <NSArray: 0x60000245e420>; layer = <CALayer: 0x6000014305a0>>",
"<NMMessageComponentCell: 0x7fc23e06ca00; baseClass = UITableViewCell; frame = (0 422.112; 375 55); autoresize = W; gestureRecognizers = <NSArray: 0x60400145c410>; layer = <CALayer: 0x604001825fc0>>",
"<NMButtonComponentCell: 0x7fc2450e9000; baseClass = UITableViewCell; frame = (0 477.112; 375 56); autoresize = W; layer = <CALayer: 0x604000a2e4e0>>",
"<NMImageAttachmentsComponentCell: 0x7fc23f8f5800; baseClass = UITableViewCell; frame = (0 533.112; 375 165); autoresize = W; gestureRecognizers = <NSArray: 0x600001651970>; layer = <CALayer: 0x6000014233e0>>",
"<NMMessageComponentCell: 0x7fc245113c00; baseClass = UITableViewCell; frame = (0 422.112; 375 55); autoresize = W; gestureRecognizers = <NSArray: 0x604001847800>; layer = <CALayer: 0x604001a33fe0>>",
"<NMButtonComponentCell: 0x7fc2450e9000; baseClass = UITableViewCell; frame = (0 477.112; 375 56); autoresize = W; layer = <CALayer: 0x604000a2e4e0>>",
"<NMImageAttachmentsComponentCell: 0x7fc23f8f5800; baseClass = UITableViewCell; frame = (0 533.112; 375 165); autoresize = W; gestureRecognizers = <NSArray: 0x600001651970>; layer = <CALayer: 0x6000014233e0>>"
)