1

I'm creating a plugin for Bohemian Coding's Sketch. They are using CocoaScript for creating plugins.

Regular coding works fine, however I wondered if it is possible to use javascript libraries with CocoaScript. Specifically I tried multiple csv-to-json libraries (such as PapaParse) within my code, which failed to function.

Unfortunately I can't find almost anything on the web regarding CocoaScript, since it is not widely used. The console is also not very helpful, since Error messages are pretty basic right now.

So, long story short:

Can I use javascript libraries with CocoaScript and if yes, what are it's limitations?

1 Answer 1

2

I asked the creator of CocoaScript via Twitter and this was his answer:

"You probably can't use most [libraries] without mods, it would really depend on the library."

Sign up to request clarification or add additional context in comments.

1 Comment

Sure wish there was any documentation on CocoaScript whatsoever. I feel like this is a huge downfall of Sketch.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.