         return item
     }
     
+    //MARK: public
+    
+    func startLoading()
+    {
+        viewBar.startLoading()
+        collectionView.isHidden = true
+        spinner.startAnimating()
+    }
+    
+    func stopLoading()
+    {
+        viewBar.stopLoading()
+        collectionView.isHidden = false
+        spinner.stopAnimating()
+    }
+    
     //MARK: collectionView delegate
     
     func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize

            toView:self)
        let layoutCollectionRight:NSLayoutConstraint = NSLayoutConstraint.rightToRight(
            view:collectionView,
            toView:self)
        
        addConstraints([

        
        let viewBar:VCameraCompressBar = VCameraCompressBar(
            controller:self.controller)
        self.viewBar = viewBar
        
        let spinner:VSpinner = VSpinner()
        spinner.stopAnimating()
        self.spinner = spinner
        
        let collectionView:VCollection = VCollection()
        collectionView.flow.minimumLineSpacing = kInterLine
