kishikawakatsumi / JavaScriptBridge

Write iOS apps in Javascript! JavaScriptBridge provides the way to write iOS apps with JavaScript. Powered by JavaScriptCore.framework.
http://d.hatena.ne.jp/KishikawaKatsumi/20140104/1388848644
MIT License
529 stars 65 forks source link

Missing "SpriteKit" headers #20

Closed siuying closed 10 years ago

siuying commented 10 years ago

I just found SpriteKit for iOS is missing from the frameworks bundled. How the header files are created? Is it possible to create some kind of generator to do that?

kishikawakatsumi commented 10 years ago

The auto-generated headers for SpriteKit have some problems to JSExport compliant. Also I think there are few people who use SpriteKit with JavaScript. So I put it lower priorities.

If you want to use SpriteKit with JS, I will try to fix it.

siuying commented 10 years ago

Yes! Thanks! I was trying to make a interactive demo with it.

kishikawakatsumi commented 10 years ago

Done https://github.com/kishikawakatsumi/JavaScriptBridge/pull/22

I also added a simple example code. https://github.com/kishikawakatsumi/JavaScriptBridge/blob/master/Examples/UICatalog/UICatalog/js/spritesViewController.js

But I am not good at SpriteKit.framework. If you find any problem, please tell me that.

Thanks.

siuying commented 10 years ago

Awesome! I'll check it out, thanks.