         return nil
     }
     
+    deinit
+    {
+        spinner.stopAnimating()
+    }
+    
     override func layoutSubviews()
     {
         collectionView.collectionViewLayout.invalidateLayout()

                right:0)
        }
        
        addSubview(collectionView)
        addSubview(viewBar)
        
        layoutBarTop = NSLayoutConstraint.topToTop(
            view:viewBar,

        let item:MCreateContentProtocol = controller.model.content[index.item]
        
        return item
    }
    
    //MARK: public
    
    func startLoading()
    {
        viewBar.isUserInteractionEnabled = false
        collectionView.isHidden = true
        spinner.startAnimating()
    }
    
    //MARK: collectionView delegate
