      :param: tag Integer value representing the tag of the selected cell.
      */
     func didSelectCell(tag: Int) {
-        self.delegate.didSelectCellAtIndexPath(self.scrollView.indexPathForCell(tag))
+        delegate.didSelectCellAtIndexPath(scrollView.indexPathForCell(tag))
     }
     
     
     func didCheckCell(tag: Int) {
-        self.delegate.didCheckCellAtIndexPath(self.scrollView.indexPathForCell(tag))
+        delegate.didCheckCellAtIndexPath(scrollView.indexPathForCell(tag))
     }
     
     func didUncheckCell(tag: Int) {
-        self.delegate.didUncheckCellAtIndexPath(self.scrollView.indexPathForCell(tag))
+        delegate.didUncheckCellAtIndexPath(scrollView.indexPathForCell(tag))
     }
     
     /**

    func deleteBarButtonPressed() {
        var indexPaths: [NSIndexPath] = []
        
        for key in self.editingModeSelection.keys {
            if self.editingModeSelection[key] == true {
                indexPaths.append(self.scrollView.indexPathForCell(key + T2GViewTags.cellConstant))
            }
        }
        
        self.removeRowsAtIndexPaths(indexPaths.sort({$0.section == $1.section ? $0.row < $1.row : $0.section < $1.section}), notifyDelegate: true)
        self.editingModeSelection = [Int : Bool]()
    }
    
    func toggleSelectionPanel() {

            return .Collection
        }
        
        let mode = scrollView.layoutMode == .Collection ? T2GLayoutMode.Table : collectionClosure()
        scrollView.adjustContentSize(mode)
        displayMissingCells()
        displayMissingCells(mode)
        
        UIView.animateWithDuration(0.8, animations: { () -> Void in
            
