Explorar o código

metadataNet delegate

Marino Faggiana %!s(int64=8) %!d(string=hai) anos
pai
achega
4474d71209
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      iOSClient/Main/CCMain.m

+ 2 - 0
iOSClient/Main/CCMain.m

@@ -1946,6 +1946,7 @@
         CCMetadataNet *metadataNet = [[CCMetadataNet alloc] initWithAccount:app.activeAccount];
         CCMetadataNet *metadataNet = [[CCMetadataNet alloc] initWithAccount:app.activeAccount];
         
         
         metadataNet.action = actionDeleteFileDirectory;
         metadataNet.action = actionDeleteFileDirectory;
+        metadataNet.delegate = self;
         metadataNet.fileID = metadata.fileID;
         metadataNet.fileID = metadata.fileID;
         metadataNet.fileNamePrint = metadata.fileNamePrint;
         metadataNet.fileNamePrint = metadata.fileNamePrint;
         metadataNet.serverUrl = _localServerUrl;
         metadataNet.serverUrl = _localServerUrl;
@@ -1971,6 +1972,7 @@
         CCMetadataNet *metadataNet = [[CCMetadataNet alloc] initWithAccount:app.activeAccount];
         CCMetadataNet *metadataNet = [[CCMetadataNet alloc] initWithAccount:app.activeAccount];
         
         
         metadataNet.action = actionDeleteFileDirectory;
         metadataNet.action = actionDeleteFileDirectory;
+        metadataNet.delegate = self;
         metadataNet.fileID = metadata.fileID;
         metadataNet.fileID = metadata.fileID;
         metadataNet.fileName = metadata.fileName;
         metadataNet.fileName = metadata.fileName;
         metadataNet.fileNamePrint = metadata.fileNamePrint;
         metadataNet.fileNamePrint = metadata.fileNamePrint;