• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSURL/NSURLHandle issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Sheets having sheets
  • Next by Date: Using a variable in different class
  • Previous by thread: Re: Sheets having sheets
  • Next by thread: Using a variable in different class
  • Index(es):
    • Date
    • Thread