NSURL/NSURLHandle issues
NSURL/NSURLHandle issues
- Subject: NSURL/NSURLHandle issues
- From: Michael Meisel <email@hidden>
- Date: Mon, 27 Aug 2001 23:00:39 -0700
Hi Everyone,
I'm attempting to load a bunch of URLs in succession, but I want to be
able to grab one immediately if the user asks for it. What it comes down
to is, I call loadInBackground on a number of NSURLHandles, and then
call resourceData on one of them. The result is that the call to
resourceData doesn't return until ALL of the loadInBackground calls have
completed loading their resources. Is there any way to avoid this? If
so, is there any way tp optimize this by having the resourceData call
use any data already loaded by the loadInBackground call?
Related side question: is there any way to determine the total amount of
data that is to be loaded from a NSURLs resource?
Thanks,
Michael