                 self.pictureForSelectedItemImage.alpha = 1.0
             }
         }else if pickerView == cellBrandPickerView{
-            //            let myIndex = tableView.indexPathForSelectedRow?.row
-            //            let cell = self.tableView(self.tableView, cellForRowAtIndexPath: myIndex!) as! CreationUITableViewCell
+            
+//                        let myIndex = tableView.indexPathForSelectedRow?.row
+//                        let cell = tableView(self.tableView, cellForRowAtIndexPath: myIndex)
+            //self.tableView(self.tableView, cellForRowAtIndexPath: myIndex!) as! CreationUITableViewCell
             if row == gamesWardrobe.brandCollection.count{
-                //                cell.textInputCellTextField.inputView = nil
-                //                cell.textInputCellTextField.reloadInputViews()
-                //                cell.textInputCellTextField.delegate = self
-                //                cell.textInputCellTextField.text = String()
-            }else if pickerView == cellYesNoPicker{
-                //                cell.textInputCellTextField.text = YES_NO[row]!
-            }else if pickerView == cellDatePicker{
-                
+//                                cell.textInputCellTextField.inputView = nil
+//                                cell.textInputCellTextField.reloadInputViews()
+//                                cell.textInputCellTextField.delegate = self
+//                                cell.textInputCellTextField.text = String()
             }else{
-                
-            }
+                brandSelected = gamesWardrobe.brandCollection[row]
+            }
+        }else if pickerView == cellYesNoPicker{
+            //                cell.textInputCellTextField.text = YES_NO[row]!
+        }else if pickerView == cellDatePicker{
+            
+        }else{
+            
         }
     }
 }

        switch row {
        case 0 :
            keyAndValue = ITEM_BRAND_STRING
            cell.configure(text: viewItem.brand, labelString: keyAndValue, tag: row)
            cell.textInputCellTextField.inputView = cellBrandPickerView
        case 1 :
            keyAndValue = ITEM_MODEL_STRING

    var categorySelected: String! = String()
    var subCategorySelected: String! = String()
    var cellBrandPickerView = UIPickerView()
    var brandSelected = String()
    var cellDatePicker = UIDatePicker()
    var cellYesNoPicker = UIPickerView()
    var tutorialImage = UIImage()
    @IBOutlet var pictureForSelectedItemImage: UIImageView!
    //CreationViewController Item to be created and modified to be saved
    var viewItem: Item! = Item()
