Rename SBCachePolicy values make it easier to use them in Swift.
This commit is contained in:
1 parent
bad1e46c6b
commit
b23ba4bda3
8 files changed
+23
-23
No files matched your search
@@ -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(), ^{
|
||||
|
||||
Reference in new issue
Block a user