File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ - (NSOperationQueue*)assetQueue;
72
72
73
73
@implementation ZSAssetManager
74
74
75
- @synthesize allowOSBackgroundCaching ;
75
+ @synthesize backgroundCaching ;
76
76
@synthesize pendingCacheItems;
77
77
@synthesize totalDownload;
78
78
@synthesize cachePopulationIdentifier;
@@ -86,8 +86,8 @@ - (id)init
86
86
// TODO: Is there a way to avoid object:nil?
87
87
[[NSNotificationCenter defaultCenter ] addObserver: self selector: @selector (reachabilityChanged: ) name: kReachabilityChangedNotification object: nil ];
88
88
89
- [[NSNotificationCenter defaultCenter ] addObserver: self selector: @selector (flushMemoryCaches: ) name: UIApplicationDidReceiveMemoryWarningNotification object: [UIApplication shared ]];
90
- [[NSNotificationCenter defaultCenter ] addObserver: self selector: @selector (enteringBackground: ) name: UIApplicationDidEnterBackgroundNotification object: [UIApplication shared ]];
89
+ [[NSNotificationCenter defaultCenter ] addObserver: self selector: @selector (flushMemoryCaches: ) name: UIApplicationDidReceiveMemoryWarningNotification object: [UIApplication sharedApplication ]];
90
+ [[NSNotificationCenter defaultCenter ] addObserver: self selector: @selector (enteringBackground: ) name: UIApplicationDidEnterBackgroundNotification object: [UIApplication sharedApplication ]];
91
91
92
92
[self performSelector: @selector (loadPersistentCacheLists ) withObject: nil afterDelay: 1.0 ];
93
93
You can’t perform that action at this time.
0 commit comments