• 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: Javascript call function Objective-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Javascript call function Objective-C


  • Subject: Re: Javascript call function Objective-C
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 04 Jul 2013 20:49:03 -0700

On Jul 4, 2013, at 6:20 AM, Tibira Botto <email@hidden> wrote:

> it is possible to access a javascript function in Objective-C?

From the example it looks like you mean “is it possible to call an Objective-C function from JavaScript”.

Look at <WebKit/WebScriptObject.h> for how to do this. There are lots of comments that explain it.

—Jens
_______________________________________________

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


References: 
 >Javascript call function Objective-C (From: Tibira Botto <email@hidden>)

  • Prev by Date: Re: Why isn't scrollRectToVisible animating?
  • Next by Date: Re: Post to a particular friend or friends group on Facebook
  • Previous by thread: Javascript call function Objective-C
  • Next by thread: Re: Javascript call function Objective-C
  • Index(es):
    • Date
    • Thread