     }
     
     func didSelectDrawerButtonAtIndex(indexPath: NSIndexPath, buttonIndex: Int) {
+        self.modelArray.removeAtIndex(indexPath.row)
         self.removeRowAtIndexPath(indexPath)
     }
 }


class ExampleViewController: T2GViewController, T2GViewControllerDelegate {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        self.delegate = self
        //self.isHidingEnabled = false

    
    func cellForIndexPath(indexPath: NSIndexPath) -> T2GCell {
        let frame = self.frameForCell(self.layoutMode, yOffset: 12, index: indexPath.row)
        let view = T2GCell(header: "R: \(self.modelArray[indexPath.row]) | T: \(indexPath.row + 333)", detail: "\(indexPath)", frame: frame, mode: self.layoutMode)
        view.setupButtons(indexPath.row%5, mode: self.layoutMode)
        return view
    }
