Fix some typos/misses (fix #119)

This commit is contained in:
Olivier Poitrey 2012-05-14 08:45:09 +02:00
parent 5aa5b46952
commit b6e0630b17
3 changed files with 3 additions and 1 deletions

View File

@ -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);
}

View File

@ -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.

View File

@ -19,6 +19,7 @@ static SDWebImagePrefetcher *instance;
@synthesize prefetchURLs;
@synthesize maxConcurrentDownloads;
@synthesize options;
+ (SDWebImagePrefetcher *)sharedImagePrefetcher
{