I have a piece of parse code that checks to see if a user is logged in:
PFUser.logInWithUsernameInBackground(\"myname\", password:\"mypass\") { (user: PFUs
You can use:
performSegueWithIdentifier("yourSegueIdentifier", sender: nil)
You dont need to "create" a segue programmatically, just connect your ViewControllers and create a Segue. With performSegueWithIdentifier you can call your segue manually if needed.