File tree Expand file tree Collapse file tree 3 files changed +223
-142
lines changed Expand file tree Collapse file tree 3 files changed +223
-142
lines changed Original file line number Diff line number Diff line change 33// enormego
44//
55// Created by Shaun Harrison on 7/4/09.
6- // Copyright (c) 2009-2010 enormego
6+ // Copyright (c) 2009-2012 enormego
77//
88// Permission is hereby granted, free of charge, to any person obtaining a copy
99// of this software and associated documentation files (the "Software"), to deal
2727#import < Foundation/Foundation.h>
2828
2929
30- @interface EGOCache : NSObject {
31- @private
32- NSMutableDictionary * cacheDictionary;
33- NSOperationQueue * diskOperationQueue;
34- NSTimeInterval defaultTimeoutInterval;
35- }
30+ @interface EGOCache : NSObject
3631
37- + (EGOCache*)currentCache ;
32+ + (instancetype )currentCache __deprecated; // Renamed to globalCache
33+
34+ // Global cache for easy use
35+ + (instancetype )globalCache ;
36+
37+ // Opitionally create a different EGOCache instance with it's own cache directory
38+ - (id )initWithCacheDirectory : (NSString *)cacheDirectory ;
3839
3940- (void )clearCache ;
4041- (void )removeCacheForKey : (NSString *)key ;
You can’t perform that action at this time.
0 commit comments