Re: WebKit - how to be the "data source" for a WebView
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