 
 }
 
-// MARK: - UICollectionViewDataSource
-extension EmotionController : UICollectionViewDataSource {
+// MARK: - UICollectionViewDataSource && delegate
+extension EmotionController : UICollectionViewDataSource , UICollectionViewDelegate{
     
     func numberOfSections(in collectionView: UICollectionView) -> Int {
         return emotionManager.packages.count

        cell.emotion = emotionManager.packages[indexPath.section].emotions[indexPath.item]
        return cell
    }
}



        
        collectionView.register(EmotionViewCell.self, forCellWithReuseIdentifier:emotionCellID)
        collectionView.dataSource = self
        collectionView.delegate = self
    }
    
    fileprivate func prepareForToolBar(){
