YHURLCache.h 565 Bytes
//
//  YHURLCache.h
//  YohoExplorerDemo
//
//  Created by gaoqiang xu on 4/16/15.
//  Copyright (c) 2015 gaoqiang xu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YHURLCache : NSURLCache

- (instancetype)initWithMemoryCapacity:(NSUInteger)memoryCapacity
                          diskCapacity:(NSUInteger)diskCapacity
                              diskPath:(NSString *)path
                         cacheDuration:(NSInteger)cacheDuration;

- (void)addCacheUrl:(NSString *)url forKey:(id)object;
- (void)removeUrlsForKey:(id)object;

@end