-8
NSstring *strURL =[NSString stringwithformat:@"http://localhost/example/login.php?email=%@&password=%@",email.text,password.text];

how do I convert this to Swift?

Michał Ciuba
  • 7,876
  • 2
  • 33
  • 59
lina
  • 7
  • 2

1 Answers1

3
var strURL = "http://localhost/example/login.php?email=\(email.text)&password=\(password.text)"
Unis Barakat
  • 876
  • 1
  • 8
  • 23