Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting unrecognized selector after removing other frameworks
    primarykey
    data
    text
    <p>Edit: I found the solution here <a href="https://stackoverflow.com/questions/8504953/sdwebimage-setimagewithurl-fails-when-used-to-set-image-of-a-uitableviewcell?rq=1">SDWebImage : setImageWithURL fails when used to set image of a UITableViewCell</a></p> <p>I have UITableView that's utilizing SDWebImage and it worked great but I decided to remove ShareKit from my app. All I believe I did was delete ShareKit, remove any references to it and then reinstall ObjectiveFlickr, JSONKit and LFWebAPIkit. All of which I don't use in this table. After I did that, everything works, except for this tableview.</p> <p>I get this error:</p> <pre><code>-[UIImageView setImageWithURL:placeholderImage:]: unrecognized selector sent to instance 0x86b31a0 </code></pre> <p>I have no problem compiling and with autocomplete and I even deleted and readdded SDWebImage but it doesn't do anything. Everything runs fine but when it tries to load the table with the UIImageView it crashes immediately on this line:</p> <pre><code>[cell.imageView setImageWithURL:[v thumbURL] placeholderImage:[UIImage imageNamed:@"46-movie-2.png"]]; </code></pre> <p>Here's my code:</p> <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"YTVVideoTableCell"; YTVVideoTableCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell = [[YTVVideoTableCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier]; } Video *v = [[[VideoStore sharedStore] allItems] objectAtIndex:[indexPath row]];; [cell.imageView setImageWithURL:[v thumbURL] placeholderImage:[UIImage imageNamed:@"46-movie-2.png"]]; [cell setController:self]; [cell setTableView:[self tableView]]; [[cell titleLabel] setText:[v title]]; [[cell titleLabel] alignBottom]; return cell; </code></pre> <p>}</p> <p>Any ideas of what went wrong when I removed ShareKit? Any ideas how to troubleshoot?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload