SHARE
TWEET

Untitled

a guest Sep 25th, 2016 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //GLOBAL VARIABLES - NEW-------------------------------------
  2.  
  3. var userEmail = NSString()
  4. var userName = NSString()
  5. var userPassword = NSString()
  6. var userNamePass = NSString()
  7.  
  8.  @IBAction func loginButton(_ sender: AnyObject) {
  9.  
  10.     userName = NSString(loginUserName.text)  //throws error "argument labels '(_:)' do not match any available overloads
  11.     userPassword = NSString(loginPassword.text)  //throws error "argument labels '(_:)' do not match any available overloads
  12.     userNamePass = NSString("(userName.uppercased)(userPassword.uppercased)")   //throws error "argument labels '(_:)' do not match any available overloads
  13.  
  14.  
  15. //other code in the login function
  16.  
  17. } //end login function
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top