objective c - Import frameworks from JSContext? (a-la JXA ObjC.import) -


is there way recreate jxa's framework importing functionality, e.g.

objc.import('cocoa') $.nsbeep() 

within jscontext embedded in app, or objc object part of osascript's black magic?

p.s. functionality based off of bridge support files i'm pretty sure hack around parsing them wouldn't pretty...


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -