【发布时间】:2016-05-01 11:44:30
【问题描述】:
NSstring *strURL =[NSString stringwithformat:@"http://localhost/example/login.php?email=%@&password=%@",email.text,password.text];
如何将其转换为 Swift?
【问题讨论】:
标签: objective-c swift
NSstring *strURL =[NSString stringwithformat:@"http://localhost/example/login.php?email=%@&password=%@",email.text,password.text];
如何将其转换为 Swift?
【问题讨论】:
标签: objective-c swift
var strURL = "http://localhost/example/login.php?email=\(email.text)&password=\(password.text)"
【讨论】: