Created
November 28, 2015 23:29
-
-
Save dam13n/ca17eb1a94733c91f665 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ([[_imageArray objectAtIndex:indexPath.row] isKindOfClass:[UIImage class]]) { | |
cell.imgView.image = [_imageArray objectAtIndex:indexPath.row]; | |
} else if ([[_imageArray objectAtIndex:indexPath.row] isKindOfClass:[NSString class]]) { | |
cell.imgView.image = [UIImage imageNamed:[_imageArray objectAtIndex:indexPath.row]]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment