title: Parse Password reset function
body: <p>I am trying to use the password reset for parse in my ios app and I can't seem to find any tutorial on the best method in swift on how to implement this into a button action but find nothing.</p>
  
  <p>Anyone know a great place to look?
  This is what I have so far</p>
  
  <pre><code>@IBAction func resetPassword(sender: AnyObject) {
  
      [PFUser requestPasswordResetForEmailInBackground:
          self.loginEmail.text
          block:^(BOOL succeeded, NSError *error)
          {
          [APP.hud hide:YES];
          if (!succeeded)
          {
          NSString *msg = @"Could not connect. Try again later.";
          [UIAlertView ok:msg];
          return;
          }
  
          [UIAlertView minimalistMessageFor:3.0
          title:nil
          message:@"Your password has been sent to your email address."
          then:^{ }];
          [self begin];
          }];
  
  }
  </code></pre>
  
  <p>I get a Expected expression in container literal error on this one on the PFUser line.</p>