Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'NSInvalidArgumentException', reason: '-[UIImageView _isResizable] Exception with custom tableview cell

I get a NSInvalidArgumentException on execution time off my custom cell.

The debugger error log:

2014-12-25 21:39:11.397 Codebuddies[24159:11353215] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImageView _isResizable]: unrecognized selector sent to instance 0x7fa5f580b6a0' `

The related swift code block:

let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as FeedTableViewCell

What I've already checked:

  • Identifier of the cell is set to "Cell"

Thanks for help!

like image 887
Tobonaut Avatar asked Dec 04 '25 10:12

Tobonaut


1 Answers

Thanks to @MichaelDautermann I was able to fix my problem.

I had deprecated 'Referencing objects' in my inspector view. I removed them and it now works as wished.

like image 162
Tobonaut Avatar answered Dec 09 '25 21:12

Tobonaut



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!