Re: Obj-C from JavaScript, Google Map event listeners in a WebView.
Re: Obj-C from JavaScript, Google Map event listeners in a WebView.
- Subject: Re: Obj-C from JavaScript, Google Map event listeners in a WebView.
- From: Erik Sjödin <email@hidden>
- Date: Tue, 17 Jan 2006 01:28:11 +0100
I followed up on your leads, found the documentation, called my obj-c
method as described there and implemented those two methods. Now it
works and somehow it seems to have solved my event listener problems
as well!
The documentation can be found at:
http://developer.apple.com/documentation/AppleApplications/Conceptual/SafariJSProgTopics/Tasks/ObjCFromJavaScript.html
It covers most stuff needed to get this going but it doesn't really
make it obvious that you have to implement
isSelectorExcludedFromWebScript: to return NO for the obj-c methods
you want to expose...
Thanks!
On 1/16/06, Theodore H. Smith <email@hidden> wrote:
> Are you implementing the methods:
>
> webScriptNameForSelector:
> isSelectorExcludedFromWebScript:
>
> ?
>
> No idea that will help, but at least you'll get an idea of if your
> "test" method is even being recongised, by setting a breakpoint
> within webScriptNameForSelector.
>
_______________________________________________
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