Rename SBCachePolicy values make it easier to use them in Swift.

This commit is contained in:
Damiano Galassi authored and Damiano Galassi committed 2017-06-20 12:37:28 +02:00
1 parent bad1e46c6b
commit b23ba4bda3
8 files changed
+23 -23

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@
// Get the data outside the main thread
dispatch_async(dispatch_get_global_queue(0, 0), ^{
if (!self.isCancelled) {
self.data = [SBMetadataHelper downloadDataFromURL:self.url cachePolicy:SBDefaultPolicy];
self.data = [SBMetadataHelper downloadDataFromURL:self.url cachePolicy:SBCachePolicyDefault];
self.version = 2;
// We got the data, tell the controller to update the view
dispatch_async(dispatch_get_main_queue(), ^{