             UIView.setAnimationsEnabled(true)
             
             cell.photoSelected = false
-        } else {
+        } else if selections.count < settings.maxNumberOfSelections { // Select
             self.selections.append(item)
             
             if let selectionCharacter = self.settings.selectionCharacter {

            cell.photoSelected = true
        }
        
        // Update done button
        self.viewController.navigationItem.rightBarButtonItem?.isEnabled = !self.selections.isEmpty
        
        return false
    }
    
    public func registerCellIdentifiersForCollectionView(_ collectionView: UICollectionView?) {
        collectionView?.register(UINib(nibName: "PhotoCell", bundle: nil), forCellWithReuseIdentifier: photoCellIdentifier)
    }
    
}

        guard let cell = collectionView.cellForItem(at: indexPath) as? PhotoCell else { return false }
        
        let item = self.items[indexPath.row]
        if let index = self.selections.index(of: item) { // DeSelect
            // Deselect asset
            self.selections.remove(at: index)
            
