Fix some typos/misses (fix #119)
This commit is contained in:
parent
5aa5b46952
commit
b6e0630b17
|
@ -61,7 +61,7 @@ NS_INLINE UIImage *SDScaledImageForPath(NSString *path, NSObject *imageOrData)
|
|||
{
|
||||
image = [[UIImage alloc] initWithData:(NSData *)imageOrData];
|
||||
}
|
||||
else if ([imageOrData isKindOfClass:[NSData class]])
|
||||
else if ([imageOrData isKindOfClass:[UIImage class]])
|
||||
{
|
||||
image = SDWIReturnRetained((UIImage *)imageOrData);
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "SDWebImageManagerDelegate.h"
|
||||
#import "SDWebImageManager.h"
|
||||
|
||||
/**
|
||||
* Prefetch some URLs in the cache for future use. Images are downloaded in low priority.
|
||||
|
|
|
@ -19,6 +19,7 @@ static SDWebImagePrefetcher *instance;
|
|||
|
||||
@synthesize prefetchURLs;
|
||||
@synthesize maxConcurrentDownloads;
|
||||
@synthesize options;
|
||||
|
||||
+ (SDWebImagePrefetcher *)sharedImagePrefetcher
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue