 import UIKit
 
 class SignUpViewController: UIViewController {
+    var isActivate = (email : false, pw : false, confimPw : false)
+    
     @IBOutlet weak var emailTextField: UITextField!
     @IBOutlet weak var passwordTextField: UITextField!
     @IBOutlet weak var confirmPasswordTextField: UITextField!

    }
    
    
    func passwordVaildator(password: UITextField) {
        print(password.text)
        if (password.text?.unicodeScalars.count)! >= 4 {
            statusButton(isActivate: true)
            noticeLabel.text = ""
        } else {
            statusButton(isActivate: false)
            noticeLabel.text = "비밀번호는 4자리 이상으로 입력해주세요."
        }
    }
    
    func indicatePasswordNotice(password: String) {
        
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    @IBAction func backButton(_ sender: Any) {
        self.dismiss(animated: true, completion: nil)
    }

        super.viewDidLoad()

        setInitElement()
    }
    
    func setInitElement() {
        statusButton(isActivate: false)
        emailTextField.addTarget(self, action: #selector(emailValidate(email:)), for: .editingChanged)
        passwordTextField.addTarget(self, action: #selector(passwordValidate(password:)), for: .editingChanged)
        confirmPasswordTextField.addTarget(self, action: #selector(confirmPasswordValidate(confirmPassword:)), for: .editingChanged)
    }
    
    func statusButton(isActivate: Bool) {
