Can't use Cocoa Braces Syntax
I have a section of my plugin where I need to use Cocoa. This is obviously invalid JS, so I'm receiving an error on build.

I have some more details on [this post](http://sketchplugins.com/d/137-cocoascript-braces-to-dot-syntax) over at the Sketch Plugins forum, but I'm curious how you use Cocoa within your plugins?

Would appreciate guidance on either how to get Cocoa to compile, or how to properly convert to dot notation.