Remove wrong UIKit import and fix wrong indentation (space instead of tab)

This commit is contained in:
Olivier Poitrey 2011-01-25 03:29:57 +01:00
parent 1fe20c25d6
commit 20b8cdf69d
2 changed files with 3 additions and 5 deletions

View File

@ -22,7 +22,7 @@ NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNot
+ (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
@ -44,7 +44,7 @@ NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNot
SDWebImageDownloader *downloader = [[[SDWebImageDownloader alloc] init] autorelease];
downloader.url = url;
downloader.delegate = delegate;
downloader.userInfo = userInfo;
downloader.userInfo = userInfo;
[downloader performSelectorOnMainThread:@selector(start) withObject:nil waitUntilDone:YES];
return downloader;
}
@ -136,7 +136,7 @@ NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNot
[url release], url = nil;
[connection release], connection = nil;
[imageData release], imageData = nil;
[userInfo release], userInfo = nil;
[userInfo release], userInfo = nil;
[super dealloc];
}

View File

@ -6,8 +6,6 @@
* file that was distributed with this source code.
*/
#import <UIKit/UIKit.h>
@class SDWebImageDownloader;
@protocol SDWebImageDownloaderDelegate <NSObject>