//
//  UIImageView+DDWebCache.m
//  DDWebImageKit_Private
//  Created by DDIsFriend on 2022/7/29.

#import "UIImageView+DDWebCache.h"

@implementation UIImageView (DDWebCache)
- (void)dd_setImageWithURL:(nullable NSURL *)url{
    [self sd_setImageWithURL:url];
}

- (void)dd_setImageWithURL:(nullable NSURL *)url
          placeholderImage:(nullable UIImage *)placeholder{
    [self sd_setImageWithURL:url placeholderImage:placeholder];
}

- (void)dd_setImageWithURL:(nullable NSURL *)url
          placeholderImage:(nullable UIImage *)placeholder
                   options:(SDWebImageOptions)options{
    [self sd_setImageWithURL:url placeholderImage:placeholder options:options];
}

- (void)dd_setImageWithURL:(NSURL *)url completed:(SDExternalCompletionBlock)completedBlock{
    [self sd_setImageWithURL:url completed:completedBlock];
}

- (void)dd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDExternalCompletionBlock)completedBlock{
    [self sd_setImageWithURL:url placeholderImage:placeholder completed:completedBlock];
}

- (void)dd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDExternalCompletionBlock)completedBlock{
    [self sd_setImageWithURL:url placeholderImage:placeholder options:options completed:completedBlock];
}

- (void)dd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options context:(SDWebImageContext *)context{
    [self sd_setImageWithURL:url placeholderImage:placeholder options:options context:context];
}

- (void)dd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDImageLoaderProgressBlock)progressBlock completed:(SDExternalCompletionBlock)completedBlock{
    [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:progressBlock completed:completedBlock];
}

- (void)dd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options context:(SDWebImageContext *)context progress:(SDImageLoaderProgressBlock)progressBlock completed:(SDExternalCompletionBlock)completedBlock{
    [self sd_setImageWithURL:url placeholderImage:placeholder options:options context:context progress:progressBlock completed:completedBlock];
}
@end
