         tableView.endUpdates()
     }
 
-// MARK: UITableViewDataSource protocol conformance
+    // MARK: UITableViewDataSource protocol conformance
 
     override func numberOfSectionsInTableView(tableView: UITableView) -> Int {
         return numberOfSections

        
        if (indexPath.section == 0) && (indexPath.row == 1) // This is the cell to hide - change as you need
        {
            if (!isExtraRowShowing)
            {
                rowHeight = 0 // Hide the cell
            }
        }
        return rowHeight

        // Get the number of sections in the table view
        numberOfSections = super.numberOfSectionsInTableView(super.tableView)
        
        rowSwitch?.on = false
    }


    // MARK: Target-action methods
    
    @IBAction func toggleValueChanged(sender: UISwitch) {
        tableView.beginUpdates()
        
        if sender.on {
            // Delete section 1
            tableView.deleteSections(NSIndexSet(index: kSectionIndexToToggle), withRowAnimation: UITableViewRowAnimation.Fade)
            numberOfSections--
