Re: plugin that does not force rendering in a new NSView
Re: plugin that does not force rendering in a new NSView
- Subject: Re: plugin that does not force rendering in a new NSView
- From: Uli Kusterer <email@hidden>
- Date: Mon, 14 Jan 2008 09:36:04 +0100
On 13.01.2008, at 16:11, Andrew Harrison wrote:
I've created a plugin based on WebView for handling a particular
mime type. This works fine except, I do not want to render anything
in the browser - I just want to pass the url of the data to an
external application, i.e. I would like the user to click on a link,
and the external app to do its thing. Instead, because I'm
subclassing NSView, the browser moves to a blank page (because I
have nothing to render). Is there anyway to use the facilities of
the WebKit without forcing me to render something?
I think you don't need a WebKit plugin for that. From what I heard,
you can just specify the URL scheme you want to handle in your app's
Info.plist, and then it will be called upon automatically whenever
URLs with that particular scheme are encountered.
Cheers,
-- M. Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden