Permalink
Browse files

fix some typos/misses (fix #119)

  • Loading branch information...
rs committed May 14, 2012
1 parent 5aa5b46 commit b6e0630b1708ad0ac6ab087a00518798874d4412
Showing with 3 additions and 1 deletion.
  1. +1 −1 SDWebImage/SDWebImageCompat.h
  2. +1 −0 SDWebImage/SDWebImagePrefetcher.h
  3. +1 −0 SDWebImage/SDWebImagePrefetcher.m
@@ -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 @@ @implementation SDWebImagePrefetcher
@synthesize prefetchURLs;
@synthesize maxConcurrentDownloads;
+@synthesize options;
+ (SDWebImagePrefetcher *)sharedImagePrefetcher
{

0 comments on commit b6e0630

Please sign in to comment.