I’m facing a problem in a simple TableView : i want to refresh the data from the Net in a separate thread to avoid blocking the UI. I’ve created a NSoperation that will do the job. This object creates an other object to handle the download. The delegate of the downloader is the NSoperation Object.
My problem is that my NSoperation Object does not get any call back from the Downloader.
If I don’t you a separate thread, using the same code (and calling main method), it works perfectly.
Example code would be nice. Is there any chance you use NSURLRequest in that separate thread? If so, try spawning the NSURLRequest on the main thread (NSURLRequest can be async by itself anyway, so that is perfectly fine).
EDIT I meant NSURLConnection, not request.