Word corrections
This commit is contained in:
parent
5ea33a7095
commit
dedbf3088b
|
@ -109,7 +109,7 @@
|
|||
// Invoking this method without a completedBlock is pointless
|
||||
NSAssert(completedBlock != nil, @"If you mean to prefetch the image, use -[SDWebImagePrefetcher prefetchURLs] instead");
|
||||
|
||||
// Very common mistake is to send the URL using NSString object instead of NSURL. For some strange reason, XCode won't
|
||||
// Very common mistake is to send the URL using NSString object instead of NSURL. For some strange reason, Xcode won't
|
||||
// throw any warning for this type mismatch. Here we failsafe this error by allowing URLs to be passed as NSString.
|
||||
if ([url isKindOfClass:NSString.class]) {
|
||||
url = [NSURL URLWithString:(NSString *)url];
|
||||
|
|
Loading…
Reference in New Issue