• 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
Canceling loadResourceDataNotifyingClient
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Canceling loadResourceDataNotifyingClient


  • Subject: Canceling loadResourceDataNotifyingClient
  • From: Jan Van Tol <email@hidden>
  • Date: Fri, 27 Sep 2002 12:25:36 -0500

Does anyone know how to cancel loadResourceDataNotifyingClient? I'm using it to download images, but if the user switches which one they want to view, I need to be able to stop the download.
The documentation for NSURLHandleClient seems to imply that this is possible:

URLHandleResourceDidCancelLoading:

- (void)URLHandleResourceDidCancelLoading:(NSURLHandle *)sender

Sent when the URL handle has canceled loading resource data in response to a programmatic request.

So does anyone know how to send that "programmatic request"?

Thanks in advance,

-Jan Van Tol
_______________________________________________
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.

  • Prev by Date: Note: Delegates vs notifications quirk -- {addObserver,setDelegate} != {setDelegate,addObserver}
  • Next by Date: private Frameworks
  • Previous by thread: Note: Delegates vs notifications quirk -- {addObserver,setDelegate} != {setDelegate,addObserver}
  • Next by thread: private Frameworks
  • Index(es):
    • Date
    • Thread