Re: Javascript call function Objective-C
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