title: Swift 2 save dateValue in first VC and load in secondVC
body: <p>I have problems sending saved Data from a first VC to a second VC so it shows it on <code>viewDidLoad()</code>.
  It does everything but it doesn't show me the date if I restart the app. </p>
  
  <p>For example first VC: </p>
  
  <pre><code>@IBAction func btnEg(sender: AnyObject) {
      string = label.text;
      date = NSDateFormatter.localizedStringFromDate(NSDate(),
                 dateStyle: NSDateFormatterStyle.MediumStyle,
                 timeStyle: NSDateFormatterStyle.ShortStyle);
  
      override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
          let statistikvc: StatistikViewController = segue.destinationViewController as! StatistikViewController
  
          if (self.Count &gt; 0) {
              statistikvc.date = date
              statistikvc.save(self.date)
          }
      }
  </code></pre>
  
  <p>Second ViewController:</p>
  
  <pre><code>var date = String();
  
  func save(a: AnyObject?){
      defaults.setObject(a,forKey:"date")
  }
  
  override func viewDidLoad() {
      super.viewDidLoad()
      if let _ = defaults.objectForKey("date") as? String {
          self.txtDate.text = defaults.objectForKey("date") as? String
      }
      txtDate.text = date;
  }
  </code></pre>