• 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: Obj-C from JavaScript, Google Map event listeners in a WebView.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Obj-C from JavaScript, Google Map event listeners in a WebView. (From: Erik Sjödin <email@hidden>)
 >Re: Obj-C from JavaScript, Google Map event listeners in a WebView. (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: Re: [Core Data] Improve save performance ?
  • Next by Date: Re: [Core Data] Improve save performance ?
  • Previous by thread: Re: Obj-C from JavaScript, Google Map event listeners in a WebView.
  • Next by thread: lockFocus and unlockFocus not really working at drag-time???
  • Index(es):
    • Date
    • Thread