开发者

multithreading library for iPhone/iPad

I have been developing an iPad application in which I want to implement multithreading, so that I can use background threads for network communication.

I tried NSThread and NSOperation but I can't get a proper mechanism fo开发者_StackOverflowr thread communication in NSThread and the application crashes randomly when I use NSOperation and NSOperatioQueue....

There is a library called ThreadWorker but it works only on Mac not iPhone/iPad.

So please tell me a good library or method for multithreading in iPhone!

Thanks


I would recommend ASIHTTPRequest. http://allseeing-i.com/ASIHTTPRequest/


I tell you a good library for network programming: Multithreaded network programming can be painful. If possible use CocoaAsyncSocket for your networking. This provides you nice delegate methods that are executed on your main thread.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜