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