We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@implementation SDWebImageManager
(id)sharedManager { static dispatch_once_t once; static id instance; dispatch_once(&once, ^{ instance = [self new]; }); return instance;
@dsxNiubility @ NSURLCache *cache = [NSURLCache sharedURLCache];
} 你在这里自己加的NSURLCache *cache = [NSURLCache sharedURLCache]; 有必要么
The text was updated successfully, but these errors were encountered:
恩,可以直接去SDImageCache里取的。当时对原生的api比较熟,顺手就那么写了。
Sorry, something went wrong.
No branches or pull requests
@implementation SDWebImageManager
(id)sharedManager {
static dispatch_once_t once;
static id instance;
dispatch_once(&once, ^{
instance = [self new];
});
return instance;
@dsxNiubility @ NSURLCache *cache = [NSURLCache sharedURLCache];
}
你在这里自己加的NSURLCache *cache = [NSURLCache sharedURLCache]; 有必要么
The text was updated successfully, but these errors were encountered: