I have class `TableViewCell1: UITableViewCell` with the following code:

```
override func awakeFromNib() {
        super.awakeFromNib()

            if (gender[0] == true){
                let origImage = UIImage(named: "maleP");
                let tintedImage = origImage?.imageWithRenderingMode(UIImageRenderingMode.AlwaysTemplate)
                genderButton[0].setImage(tintedImage, forState: .Normal)
                genderButton[0].tintColor = UIColor(hex: "d8006c")
            }
            else{
                let origImage = UIImage(named: "maleP");
                let tintedImage = origImage?.imageWithRenderingMode(UIImageRenderingMode.AlwaysTemplate)
                genderButton[0].setImage(tintedImage, forState: .Normal)
                genderButton[0].tintColor = UIColor(hex: "333333")

        }
        if (gender[1] == true){
            let origImage = UIImage(named: "femaleP");
            let tintedImage = origImage?.imageWithRenderingMode(UIImageRenderingMode.AlwaysTemplate)
            genderButton[1].setImage(tintedImage, forState: .Normal)
            genderButton[1].tintColor = UIColor(hex: "d8006c")
        }
        else{
            let origImage = UIImage(named: "femaleP");
            let tintedImage = origImage?.imageWithRenderingMode(UIImageRenderingMode.AlwaysTemplate)
            genderButton[1].setImage(tintedImage, forState: .Normal)
            genderButton[1].tintColor = UIColor(hex: "333333")

        }
    }

```

and I got left view controller, which have tableview controller, the problem is that I want clear the value inside the cell, to back what was before like reload it ..

```
 @IBAction func clearSelection(sender: AnyObject) {
         staticlink = ""
         attribute1 = [String]()
         values1 = [String]()

         gender = [false,false]
         seasons = [false,false,false,false]

        clickedsection = 10

         cliedkarry = [false,false,false,false,false,false,false,false]

      tableView.reloadData()    
}

```

how I can apply my inaction to the tableview cell or all the tableview !?

I tried tableView.reloadData() but it didn't work, I guess because I register nibs in this way

```
tableData = [
    ["title": "Gender", "height": "120", "cellID": "cell1"]]

tableView.registerNib(UINib(nibName: "TableViewCell1", bundle: NSBundle.mainBundle()), forCellReuseIdentifier: "cell1")

```

this is my `cellForRowAtIndexPath`:

```
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
    let record = tableData[indexPath.section];
    let cell: UITableViewCell = tableView.dequeueReusableCellWithIdentifier(record["cellID"] as! String)!
    cell.hidden = !(CBool(expandSections[indexPath.section] as! NSNumber))
    return cell
}

```

so how I can reload the data inside tableview cell