         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

{
    private weak var controller:CCameraCompress!
    private weak var collectionView:VCollection!
    private let kBarHeight:CGFloat = 64
    private let kCellHeight:CGFloat = 80
    private let kInterLine:CGFloat = 2

        self.collectionView = collectionView
        
        addSubview(collectionView)
        addSubview(spinner)
        addSubview(viewBar)
        
        let layoutBarTop:NSLayoutConstraint = NSLayoutConstraint.topToTop(
