Remove wrong UIKit import and fix wrong indentation (space instead of tab)
This commit is contained in:
parent
1fe20c25d6
commit
20b8cdf69d
|
@ -22,7 +22,7 @@ NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNot
|
||||||
|
|
||||||
+ (id)downloaderWithURL:(NSURL *)url delegate:(id<SDWebImageDownloaderDelegate>)delegate
|
+ (id)downloaderWithURL:(NSURL *)url delegate:(id<SDWebImageDownloaderDelegate>)delegate
|
||||||
{
|
{
|
||||||
return [[self class] downloaderWithURL:url delegate:delegate userInfo:nil];
|
return [[self class] downloaderWithURL:url delegate:delegate userInfo:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (id)downloaderWithURL:(NSURL *)url delegate:(id<SDWebImageDownloaderDelegate>)delegate userInfo:(id)userInfo
|
+ (id)downloaderWithURL:(NSURL *)url delegate:(id<SDWebImageDownloaderDelegate>)delegate userInfo:(id)userInfo
|
||||||
|
@ -44,7 +44,7 @@ NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNot
|
||||||
SDWebImageDownloader *downloader = [[[SDWebImageDownloader alloc] init] autorelease];
|
SDWebImageDownloader *downloader = [[[SDWebImageDownloader alloc] init] autorelease];
|
||||||
downloader.url = url;
|
downloader.url = url;
|
||||||
downloader.delegate = delegate;
|
downloader.delegate = delegate;
|
||||||
downloader.userInfo = userInfo;
|
downloader.userInfo = userInfo;
|
||||||
[downloader performSelectorOnMainThread:@selector(start) withObject:nil waitUntilDone:YES];
|
[downloader performSelectorOnMainThread:@selector(start) withObject:nil waitUntilDone:YES];
|
||||||
return downloader;
|
return downloader;
|
||||||
}
|
}
|
||||||
|
@ -136,7 +136,7 @@ NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNot
|
||||||
[url release], url = nil;
|
[url release], url = nil;
|
||||||
[connection release], connection = nil;
|
[connection release], connection = nil;
|
||||||
[imageData release], imageData = nil;
|
[imageData release], imageData = nil;
|
||||||
[userInfo release], userInfo = nil;
|
[userInfo release], userInfo = nil;
|
||||||
[super dealloc];
|
[super dealloc];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#import <UIKit/UIKit.h>
|
|
||||||
|
|
||||||
@class SDWebImageDownloader;
|
@class SDWebImageDownloader;
|
||||||
|
|
||||||
@protocol SDWebImageDownloaderDelegate <NSObject>
|
@protocol SDWebImageDownloaderDelegate <NSObject>
|
||||||
|
|
Loading…
Reference in New Issue