Re: How do I cancel a NSURL loadResourceDataNotifyingClient:usingCache: ?
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.