title: Xcode 7 How to get Text Field inputs?
body: <p>So I have been working with some swift code in xcode 7, and I am trying to make a basic login and registration page. I am trying to get the text inputs from the text fields, (Username, Password, etc), but I get an error (Value of type 'NSTextField' has no member 'text'. I have a note to mark where the error is in the code:</p>
  
  <pre><code>//  RegisterViewController.swift
  //  SafeUtils
  //
  //  Created by DJtech on 7/26/16.
  //  Copyright © 2016 DJtech. All rights reserved.
  //
  
  import Cocoa
  
  class RegisterViewController: ViewController {
  
      @IBOutlet weak var UserNameTextF: NSTextField!
      @IBOutlet weak var UserPasswordTextF: NSSecureTextField!
      @IBOutlet weak var UserVerifyPassTextF: NSSecureTextField!
  
      override func viewDidLoad() {
          super.viewDidLoad()
          // Do view setup here.
      }
  
      // When Register Button Tapped
      @IBAction func RegisterBTNTPD(sender: AnyObject) {
          //These are the parts of code that have the error. Error: Value of type 'NSTextField' has no member 'text'
          let Username = UserNameTextF.text
          let Password = UserPasswordTextF.text
          let veriPass = UserVerifyPassTextF.text
  
  
          // Are there empty fields?
  
  
          // Store User Data
  
          // Confirm Registration Message
  
      }
  
  
  }
  </code></pre>
  
  <p>All help is appreciated.</p>