title: Parse Objective - C to Swift iOS
body: <p>I am having trouble trying to change Objective - C code to Swift. This is with the Parse framework. If anyone knows how the following code should be written in Swift, it would help me a lot.</p>
  
  <pre><code> [user signUpInBackgroundWithBlock:^(BOOL succeeded, NSError *error) {
      if (!error) {
          //The registration was successful, go to the wall
          [self performSegueWithIdentifier:@"SignupSuccesful" sender:self];
  
      }
  </code></pre>