marinofaggiana 4 年之前
父节点
当前提交
ae12ea59c3
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      iOSClient/Main/NCDataSource.swift

+ 6 - 6
iOSClient/Main/NCDataSource.swift

@@ -124,6 +124,8 @@ import Foundation
         self.metadatas = metadatasTemp
         self.metadatas = metadatasTemp
     }
     }
         
         
+    // MARK: -
+
     func getFilesInformation() -> (directories: Int,  files: Int, size: Double) {
     func getFilesInformation() -> (directories: Int,  files: Int, size: Double) {
 
 
         var directories: Int = 0
         var directories: Int = 0
@@ -206,7 +208,10 @@ import Foundation
         return nil
         return nil
     }
     }
     
     
-    // MARK: -
+    func numberOfItems() -> Int {
+        
+        return self.metadatas.count
+    }
     
     
     func cellForItemAt(indexPath: IndexPath) -> tableMetadata? {
     func cellForItemAt(indexPath: IndexPath) -> tableMetadata? {
         
         
@@ -218,9 +223,4 @@ import Foundation
             return self.metadatas[row]
             return self.metadatas[row]
         }
         }
     }
     }
-    
-    func numberOfItems() -> Int {
-        
-        return self.metadatas.count
-    }
 }
 }