How to pass textfield value as String type in xcode 8 swift 3?
问题 I'm trying to understand the process of post request in xcode 8 swift 3. I managed to post data manually by adding value into "paramString". My question is, how to pass the data if the input data is coming from textfield ? I named it usernameTxt and passwordTxt . How to pass these value into PHP MySQL using the code below? What would "paramString" will be if the view controller have multiple textfield input into web services? My code so far as below import UIKit class ViewController: