performSelectorInBackground: using self.object ?
- by Emil
Hey. I am trying to load an image for a custom tableViewCell. The code gets run from the CustomCell-class (CustomCell.h) from [cell performSelectorInBackground:@selector(loadImageFromURL:) withObject:[NSURL URLWithString:urlString]]; in the cellForRowAtIndexPath:-function.
Cell gets created here:
CustomCell *cell = (CustomCell *) [tableView…