We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11125c4 commit 013ccbaCopy full SHA for 013ccba
README.md
@@ -177,9 +177,8 @@ the URL before to use it as a cache key:
177
```objective-c
178
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
179
{
180
- SDWebImageManager.sharedManager.cacheKeyFilter:^(NSURL *url)
181
- {
182
- url = [[[NSURL alloc] initWithScheme:url.scheme host:url.host path:url.path] autorelease];
+ SDWebImageManager.sharedManager.cacheKeyFilter = ^(NSURL *url) {
+ url = [[NSURL alloc] initWithScheme:url.scheme host:url.host path:url.path];
183
return [url absoluteString];
184
};
185
0 commit comments