How to have common NSConnection for various data processing from web server in iPhone. If possible can I have code for it
Asked
Active
Viewed 312 times
1 Answers
0
I wrote some blog posts about NSURLConnection.
Sending POST Data Using NSURLConnection
Hope This Helped. Let me know if you need any more information.

Conceited Code
- 4,517
- 3
- 29
- 32
-
Hi, I done already NSURLConnection it. but i want to connect to server for various view controller to retrieve data? whether it is no problem to have no main thread to connect to server? – sathish kumar Jul 06 '10 at 04:24
-
What are you trying to retrieve? All the data that the server sends to your application is stored as an instance of NSData. You have to convert the data to what you want. And it could be a problem if it is on the main thread, but it really just depends on how much data you are transferring. It is good practice to have connect to a server on another thread. – Conceited Code Jul 06 '10 at 04:35