[mobile_Obj AuthenticateMobileServer:self action:@selector(Handler:) AccountNO:@”123″ UserName:@”Sun” Password:@”123***”];
In the above method call , can we have two threads running simultaneously??
One thread running: AuthenticateMobileServer method
Second thread runnig: Handler method
Please let me knw is it possible or not, if so how to create thread for each of them?
Thank You.
Maybe you could create a method that to be called by
@selectorwhich creates the threads instead.Take a look at the NSOperation docs, as well as this tutorial.