TKImageIpsum icon indicating copy to clipboard operation
TKImageIpsum copied to clipboard

[__NSCFConstantString size]: unrecognized selector sent to instance

Open kfateem opened this issue 10 years ago • 0 comments

Before images are downloaded, quickly scroll up and down in the the table view. The app will crash with:

[__NSCFConstantString size]: unrecognized selector sent to instance

I believe this is the offending line - TKImageIpsum.m line 107: [cache setObject:placeholder forKey:key ?: placeholder];

The above caches a string instead of a UIImage.

The completion block expects an image and crashes.

kfateem avatar Jun 29 '14 01:06 kfateem