         super.viewDidLoad()
         
         let tapBackground = UITapGestureRecognizer(target: self, action: Selector("dismissKeyboard:"))
-        tapBackground.numberOfTouchesRequired = 1
         view.addGestureRecognizer(tapBackground)
         
         self.disposeBag = DisposeBag()

import RxCocoa
#endif

let okColor = UIColor(red: 138.0 / 255.0, green: 221.0 / 255.0, blue: 109.0 / 255.0, alpha: 1.0)
let errorColor = UIColor.redColor()

typealias ValidationResult = (valid: Bool?, message: String?)
typealias ValidationObservable = Observable<ValidationResult>


    
    @IBOutlet weak var signupOutlet: UIButton!
    @IBOutlet weak var signingUpOulet: UIActivityIndicatorView!
    
    let okColor = UIColor(red: 138.0 / 255.0, green: 221.0 / 255.0, blue: 109.0 / 255.0, alpha: 1.0)
    let errorColor = UIColor.redColor()
    
    var disposeBag = DisposeBag()
    
