Using Amber.js to call JavaScriptCore objects ( JavaScript-wrapped Objective-C or Swift objects )

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Using Amber.js to call JavaScriptCore objects ( JavaScript-wrapped Objective-C or Swift objects )

Thom
Hi, Does anyone know how one would go about setting up Amber.js to use as a coding-interface / development-layer to work with JavaScriptCore objects (JavaScript-wrapped Objective-C or Swift objects or functions)?  Would I need to run Node.js as an execution environment?  I basically want to use Amber to interactively play with code Smalltalk-style, by calling into a custom JavaScript API that wraps the base-level objects written in Swift (this part is already working smoothly).

Thanks!,

   Thom

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Using Amber.js to call JavaScriptCore objects ( JavaScript-wrapped Objective-C or Swift objects )

Herby Vojčík
Thom wrote:
> Hi, Does anyone know how one would go about setting up Amber.js to use
> as a coding-interface / development-layer to work with JavaScriptCore
> objects (JavaScript-wrapped Objective-C or Swift objects or
> functions)? Would I need to run Node.js as an execution environment?I
> basically want to use Amber to interactively play with code
> Smalltalk-style, by calling into a custom JavaScript API that wraps
> the base-level objects written in Swift (this part is already working
> smoothly).

What does not work for you when you try the normal standard Amber->JS interoperability? Never tried these specifically, but for normally, you can interact with any JS object out there using Smalltalk convention, magic happening in the background.

Herby

> Thanks!,
>
>    Thom
>
> --
> You received this message because you are subscribed to the Google
> Groups "amber-lang" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to a
[hidden email]
> <mailto:[hidden email]>.
> For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.