开发者

Using threads in iPhone, do i need them in this case?

I have an opengl game, on top of it i开发者_开发百科 am placing an small view that connects to the internet, retrieves data, with part of that data it connects again to retrieve an image and then displays it inside the view.

All this calls are asynchronous. Do i have to also use threads? What should i put inside in another thread?

Thanks


Nope, NSURLRequest is asyncronous, you just say what delegate it should use when receiving data and take it from there :-) No need for more threads to handle that

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜