News for hackers. Stuff that matters.
Re:Building OS X Apps with JavaScript by thegaw on Sunday September 28, 2014 @11:09AM (#8379904)
Yes, you can! Which is totally cool. There is a sample app written in JS that uses Xcode. They have it set up with a main.js file, they use the same ObjC.registerSubclass to create an AppDelegate. Then they have .xib for the interface. You can make the same connections from IB to the JS as you're used to.

If you have an Apple Developer account, you can download the sample project here https://developer.apple.com/wwdc/resources/sample-code It's listed under "JavaScript for Automation Cocoa Application"

There are no comments on this comment yet.