SB
Size: a a a
SB
IG
MS
IG
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
{
ImageCell *cell = (ImageCell *)[collectionView dequeueReusableCellWithReuseIdentifier:NSStringFromClass([ImageCell class]) forIndexPath:indexPath];
cell.backgroundColor = [UIColor cyanColor];
dispatch_async(dispatch_get_main_queue(), ^{
FLAnimatedImage *image = [FLAnimatedImage animatedImageWithGIFData:[NSData dataWithContentsOfURL:[NSURL URLWithString:self.gifs[indexPath.item].images.fixedHeightDownsampled.url]]];
cell.image.animatedImage = image;
});
return cell;
}
MS
SB
SB
MS
M
MS
SB
M
M
M
SB
MS
SB
MS
SB
A