Merge pull request #2164 from AaronZhang2015/master
fix 'nullable' to 'nonull'
This commit is contained in:
commit
85e389ee7a
|
@ -234,7 +234,7 @@ SDWebImageManager *manager = [SDWebImageManager sharedManager];
|
||||||
- (nullable id <SDWebImageOperation>)loadImageWithURL:(nullable NSURL *)url
|
- (nullable id <SDWebImageOperation>)loadImageWithURL:(nullable NSURL *)url
|
||||||
options:(SDWebImageOptions)options
|
options:(SDWebImageOptions)options
|
||||||
progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
|
progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
|
||||||
completed:(nullable SDInternalCompletionBlock)completedBlock;
|
completed:(nonnull SDInternalCompletionBlock)completedBlock;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Saves image to cache for given URL
|
* Saves image to cache for given URL
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
- (id <SDWebImageOperation>)loadImageWithURL:(nullable NSURL *)url
|
- (id <SDWebImageOperation>)loadImageWithURL:(nullable NSURL *)url
|
||||||
options:(SDWebImageOptions)options
|
options:(SDWebImageOptions)options
|
||||||
progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
|
progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
|
||||||
completed:(nullable SDInternalCompletionBlock)completedBlock {
|
completed:(nonnull SDInternalCompletionBlock)completedBlock {
|
||||||
// Invoking this method without a completedBlock is pointless
|
// Invoking this method without a completedBlock is pointless
|
||||||
NSAssert(completedBlock != nil, @"If you mean to prefetch the image, use -[SDWebImagePrefetcher prefetchURLs] instead");
|
NSAssert(completedBlock != nil, @"If you mean to prefetch the image, use -[SDWebImagePrefetcher prefetchURLs] instead");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue