Hacker Newsnew | past | comments | ask | show | jobs | submit | jermar's commentslogin

https://github.com/jerrymarino/cupertinojs

Cupertino.js already supports this. It's currently pre-alpha, but there's a JavaScript iOS app that works in the simulator.


Currently some aspects of prototype inheritance are implemented. One day Cupertino.js should support an ECMA standard http://www.ecmascript.org - the Javascript spec that most web browsers implement. Once this is finished it would have "full" support of the language, minus any vendor added functionality.

I think porting apps might require some refactoring around the UI layer or adding functionality that is only exposed by native frameworks. It may be interesting to look into supporting hybrid web frameworks in the future :)


Yes, once Cupertino becomes more ECMA compliant, we will see the release of specific JavaScript frameworks targeting the creation of Cocoa apps. Kudos for Cupertino.js!


There's no license as of now but I'm in the process of adding one. Do you have any suggestions?


Thanks for the feedback! At this point writing a serious Cocoa app would require using the frameworks directly.

I think would be awesome if there was a way to implement native Cocoa apps with JS frameworks like Ember or Backbone. It might require some plugins but if done correctly could be interesting and maybe useful.

It may be possible convert official documentation and examples to use JS syntax. This could remove the context switch to Objective-C syntax.


I agree. For this to be widely adopted the discoverable piece is most important. Open source web apps are a great start, especially products like Wordpress because they are accessible to anyone.


"Any effort to combat online piracy must guard against the risk of online censorship of lawful activity and must not inhibit innovation by our dynamic businesses large and small."

Online censorship is anti constitution, whether the activity is lawful or not. This whole thing is a mess.


Native apps have their place and so do web apps. One major benefit of native apps on iOS is consistent user experience. This is because a lot of apps use standard UI elements and navigation. I tend to feel more at home in native iOS apps than a mobile version.

I still don't understand how discovery is any worse for native apps. On the web most people use search engines to find an app? App stores have search too. Plus, search engines usually find apps on app stores. If anything this makes discovery better for the native app.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: