Async NSURLConnection, Concurrent NSOperation, when to use NSRunLoop?

后端 未结 2 1624
终归单人心
终归单人心 2021-01-14 04:08

I\'m trying to run NSURLConnection async in a secondary thread (target is iOS4), for this I have created a concurrent NSOperation, I think I\'m almost there, but am not clea

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-14 04:28

    I'm not sure to understand what you're trying to achieve : NSURLConnection API has a built-in async method initWithRequest:delegate:

    Is there any specific reason why you can't use this ?

提交回复
热议问题