title: Uncaught exception: This class is not key value coding-compliant
body: <p>I'm following <a href="https://www.youtube.com/watch?v=0PJtUQ6L_mc" rel="noreferrer">a tutorial titled "Swift Tutorial for iOS : NSFileManager Persisting Data"</a>, and I've encountered an error around or after the 29 minute mark. When I try running it on the iOS simulator, I receive the error:</p>
  
  <blockquote>
    <p>Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key theLoadMethod.'</p>
  </blockquote>
  
  <p>Obviously based off the error, I'm thinking the problem is my <code>theLoadMethod</code>. Here is <em>all</em> the code I wrote as part of this project in the ViewController:</p>
  
  <pre><code>let theDocumentsFolder = NSSearchPathForDirectoriesInDomains(.DocumentDirectory, .UserDomainMask, true)[0] as String
  let theFileName     = "/theUserFile.txt"
  let thePath         = theDocumentsFolder.stringByAppendingString(theFileName)
  
  
  class ViewController: UIViewController {
  
  @IBOutlet weak var nameTextField: UITextField!
  @IBOutlet weak var lastNameTextField: UITextField!
  @IBOutlet weak var ageTextField: UITextField!
  
  @IBOutlet weak var theLabel: UILabel!
  
  // The save method
  @IBAction func theSaveMethod(sender: AnyObject) {
      var name        = nameTextField.text
      var lastName    = lastNameTextField.text
      var age         = ageTextField.text
  
      var theString   =   "The user's information is: \(name), \(lastName), \(age)"
  
      let theFileManager = NSFileManager.defaultManager()
  
      if !theFileManager.fileExistsAtPath(thePath) {
  
          var writeError:NSError?
          let fileToBeWritten = theString.writeToFile(thePath, atomically: true, encoding: NSUTF8StringEncoding, error: &amp;writeError)
  
          if writeError == nil {
              println("No errors. Added: \(theString)")
          } else {
              println("Encountered an error. Error is: \(writeError)")
          }
  
      } else {
          println("File already exists")
      }
  
      nameTextField.resignFirstResponder()
      lastNameTextField.resignFirstResponder()
      ageTextField.resignFirstResponder()
  }
  
  @IBAction func theLoadMethod(sender: AnyObject) {
      let infoFromFile:String = String.stringWithContentsOfFile(thePath, encoding: NSUTF8StringEncoding, error: nil)!
  
      theLabel.text = infoFromFile
  }
  </code></pre>
  
  <p>Is there anything I'm doing wrong? As far as I'm aware, all my iOS on screen elements are correctly named and linked. </p>