Message Sent to Deallocated instance on method dequeuereusablecellwithidentifier

574 Views Asked by At

I receive the following error while my UITableView is loading:

*** -[NSObject respondsToSelector:]: message sent to deallocated instance 0x23fa7cff0

I've used NSZombies to track down the error to the line:

SHFeedCell *cell = (SHFeedCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];

Where CellIdentifier has previously been declared:

CellIdentifier = [SHFeedCell getCellIdentifierForPost:currentPost];

I've included an image from instruments. Any help is greatly appreciated!

enter image description here

Log output:

2015-01-09 12:34:49.896 Shout[73650:6147424] -[SHFeedTableViewController tableView:cellForRowAtIndexPath:] line 478 $ cell identifier: feedCellImageDescription
2015-01-09 12:34:49.974 Shout[73650:6147424] -[SHFeedTableViewController tableView:cellForRowAtIndexPath:] line 481 $ cell: <SHFeedCell: 0x25150bc40; baseClass = UITableViewCell; frame = (0 0; 320 495); autoresize = RM+BM; layer = <CALayer: 0x25151bfe0>>
2015-01-09 12:34:50.051 Shout[73650:6147424] *** -[NSObject respondsToSelector:]: message sent to deallocated instance 0x2514edff0
0

There are 0 best solutions below