[Mono-osx] How to exposing C# class to JavaScript (MonoMac project)

Mephisto shmayev at gmail.com
Sat Sep 18 11:23:52 EDT 2010


I use MonoMac to create form with an embedded WebKitView.

I successfully can call JavaScript methods from C#.

Is there any way to receive callbacks from JavaScript? (I repeat it's an
embedded WebView)

I found some links how to call Objective-C objects from JavaScript.

http://developer.apple.com/library/mac/#documentation/AppleApplications/Conceptual/SafariJSProgTopics/Tasks/ObjCFromJavaScript.html
Calling Objective-C methods from JS environment 

http://lipidity.com/apple/javascript-cocoa-webkit/ Exposing an Objective-C
class to the scripting environment 

 
-- 
View this message in context: http://mono.1490590.n4.nabble.com/How-to-exposing-C-class-to-JavaScript-MonoMac-project-tp2545019p2545019.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list