Browse Source

cleat code

Marino Faggiana 6 years ago
parent
commit
659fc97c8f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      iOSClient/Trash/NCTrash.swift

+ 2 - 1
iOSClient/Trash/NCTrash.swift

@@ -46,13 +46,14 @@ class NCTrash: UIViewController ,UICollectionViewDataSource, UICollectionViewDel
     override func viewDidLoad() {
         super.viewDidLoad()
         
+        // Cell
         collectionView.register(UINib.init(nibName: "NCTrashListCell", bundle: nil), forCellWithReuseIdentifier: "cell-list")
         collectionView.register(UINib.init(nibName: "NCTrashGridCell", bundle: nil), forCellWithReuseIdentifier: "cell-grid")
         
+        // Header - Footer
         collectionView.register(UINib.init(nibName: "NCTrashHeaderMenu", bundle: nil), forSupplementaryViewOfKind: UICollectionView.elementKindSectionHeader, withReuseIdentifier: "headerMenu")
         collectionView.register(UINib.init(nibName: "NCTrashSectionFooter", bundle: nil), forSupplementaryViewOfKind: UICollectionView.elementKindSectionFooter, withReuseIdentifier: "sectionFooter")
 
-
         collectionView.alwaysBounceVertical = true
 
         listLayout = ListLayoutTrash()