Using TextField for setProxyHost and setProxyPort in Swift

30 Views Asked by At

I use ASIHTTPRequest in my mac os project and I want to use text field for setProxyHost and setProxyPort. I added two textfield.

[request1 setProxyHost:_textofproxyhost.text];
[request1 setProxyPort:_textofproxyport.text];

I tried it. I think I need to use button but I don't know how to use button there.

0

There are 0 best solutions below