title: Change Label.stringValue of Label while editing textfield
body: <p>I am trying to make a live textfield and show the entered string in a label but I don't know how to realize it.</p>
  <p>What I can do now is only showing the text by a button click, but I want to skip this button. How to do this?</p>
  <pre><code>import Cocoa
  
  class ViewController: NSViewController {
  
      @IBOutlet weak var namefiled: NSTextField!
      @IBOutlet weak var Mylabel: NSTextField!
      
      override func viewDidLoad() {
          super.viewDidLoad()
  
          // Do any additional setup after loading the view.
      }
      
      override var representedObject: Any? {
          didSet {
          // Update the view, if already loaded.
          }
      }
  
      @IBAction func SayHelloButtonClick(_ sender: Any) {
         
          let name:String = namefiled.stringValue
          
          let greeting:String = &quot;Hello \(name)!&quot;
      
          Mylabel.stringValue = greeting
      }
      
  }
  </code></pre>