• 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: WebKit - how to be the "data source" for a WebView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebKit - how to be the "data source" for a WebView


  • Subject: Re: WebKit - how to be the "data source" for a WebView
  • From: daniel <email@hidden>
  • Date: Sat, 13 Nov 2004 11:36:42 -0800

The way to do this is through WebKit's various delegation points. There are so many things that a webview delegates on, that you have to sign up separately for each of several classes of functionality. Search on "delegate" in the WebView documentation.

In your case, it sounds like you want to use "setResourceLoadDelegate" and then respond to the appropriate callbacks as you require.

Daniel

On Nov 13, 2004, at 7:02 AM, Michael Rothwell wrote:

It looks like WebKit will do its own resource loading, if you pass it a URL. Is it possible to have WebKit ask a delegate for resources, rather than load them itself?

<x-tad-smaller>Michael Rothwell
email@hidden
</x-tad-smaller> _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >WebKit - how to be the "data source" for a WebView (From: Michael Rothwell <email@hidden>)

  • Prev by Date: Re: newbie question
  • Next by Date: NSMatrix of text cells, editable and selectable
  • Previous by thread: Re: WebKit - how to be the "data source" for a WebView
  • Next by thread: Doubleclick in a tableview row?
  • Index(es):
    • Date
    • Thread