Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在用 cocos2d 开发一个 iphone 应用程序,我需要一个更新内容的功能。如何启动一个新的工作线程,它将在后台发送一些请求并且不会暂停主应用程序/gui 线程?我在网上搜索过,找不到一个像样的例子。谢谢!
您可以为此使用 NSOperation 和 NSOperationQueue 。