swift - Use of unresolved identifier 'Info' and Invalid redecoration of 'signUpViewControllerDidCancelSignUp' error -


i use of unresolved identifier 'info' when enter code:

func signupviewcontrollerdidcancelsignup(signupcontroller: pfsignupviewcontroller) {     if let password = info?["password"] as? string {         return password.utf16count >= 8     } else {         return false     } } 

also, invalid redecoration of 'signupviewcontrollerdidcancelsignup' when enter code:

func signupviewcontrollerdidcancelsignup(signupcontroller: pfsignupviewcontroller) {     println("user dismissed sign up") } 

what doing wrong? please excuse lack of knowledge, still learning code.


Comments