• 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
Re: How do I cancel a NSURL loadResourceDataNotifyingClient:usingCache: ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I cancel a NSURL loadResourceDataNotifyingClient:usingCache: ?


  • Subject: Re: How do I cancel a NSURL loadResourceDataNotifyingClient:usingCache: ?
  • From: John Blackburn <email@hidden>
  • Date: Sat, 2 Mar 2002 14:47:24 -0800

[aURLHandle beginLoadInBackground];

This should be loadInBackground, rather than beginLoadInBackground. The
former initiates the download; the latter informs subclasses that the
download will commence.
John Blackburn

On Saturday, March 2, 2002, at 02:04 PM, Finlay Dobbie wrote:

> So instead of doing [aURL loadResourceDataNotifyingClient:usingCache:],
> do
>
> NSURLHandle *aURLHandle = [aURL URLHandleUsingCache:YES];
> [aURLHandle addClient:self];
> [aURLHandle beginLoadInBackground];
> ...
> [aURLHandle cancelLoadInBackground];
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: How do I cancel a NSURL loadResourceDataNotifyingClient:usingCache: ? (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: The Project From A Faraway Land
  • Next by Date: path to application
  • Previous by thread: Re: How do I cancel a NSURL loadResourceDataNotifyingClient:usingCache: ?
  • Next by thread: Re: How do I cancel a NSURL loadResourceDataNotifyingClient:usingCache: ?
  • Index(es):
    • Date
    • Thread