[selfsd_setImageWithURL:[NSURL URLWithString:imageURL]
placeholderImage:placeholder
completed:^(UIImage *_Nullableimage, NSError *_Nullableerror, SDImageCacheType cacheType, NSURL *_NullableimageURL) {
if(image && cacheType == SDImageCacheTypeNone) {
CATransition *transition = [CATransition animation];
transition.type = kCATransitionFade;
transition.duration =0.3;
transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
[weakself.layer addAnimation:transition forKey:nil];
}
}];