【发布时间】:2012-12-27 17:13:26
【问题描述】:
我对在 iOS 中使用哪个多线程工具来访问服务和根据服务数据更改 UI 感到困惑,
- 首先我习惯了使用 NSURLConnection 及其委托,使用 didreceiveresponse、didreceivedata 等委托来完成任务
- 其次,我学习并使用 GCD 从代码块中访问服务并更新 UI
- 现在我正在学习使用 performSelectorInBackground() 在后台线程中工作
对在哪里使用哪个工具感到困惑?
【问题讨论】:
标签: ios ios6 nsurlconnection grand-central-dispatch performselector