     
     if value == nil {
       valueTextField.text = ""
-      valueTextField.placeholder = "nil"
+      valueTextField.attributedPlaceholder = NSAttributedString(string: "nil", attributes: [
+        NSForegroundColorAttributeName: UIColor.redColor()
+      ])
     }
   }
   

  }
  
  @IBAction func valueDidChange(sender: UITextField) {
    let text = sender.text ?? ""
    let value: AnyObject?
    switch property.type {

    valueTextField.enabled = true
    valueTextField.hidden = false
    valueTextField.textColor = .blackColor()
    valueTextField.attributedPlaceholder = NSAttributedString(string: "value", attributes: [
      NSForegroundColorAttributeName: UIColor.lightGrayColor()
    ])

    valueSwitch.enabled = true
    valueSwitch.hidden = true
    
