 
 import UIKit
 import JSQCoreDataKit
+import ObjectiveDDP
 
 class RegisterViewController: UIViewController, UIPopoverPresentationControllerDelegate {
   

  @IBOutlet var passwordTextField: UITextField!
  @IBOutlet var confirmPasswordTextField: UITextField!
  
  
  override func viewDidLoad() {
    super.viewDidLoad()

        })
        
        
        //Proceed to username selection screen.
        self.performSegueWithIdentifier("selectUsername", sender: self)
        
      }
    }
    
  }
  
  func handleFailedReg(error: NSError){
    //Inform the not-registered user
    let alert = UIAlertView(title: "Name Exists", message: "Username not available", delegate: self, cancelButtonTitle: "Dismiss")
    alert.show()

  }
  
  
