Creating HTML5-based apps for the Mac App Store

删除回忆录丶 提交于 2019-12-03 09:24:58

问题


The new Tweetdeck for the Mac is supposedly HTML5-based:

http://www.cultofmac.com/134237/tweetdeck-releases-html5-based-app-in-the-mac-app-store/

Anyone know how to build a HTML5 app for the Mac App Store like this? I can't find any documentation on it.


回答1:


My guess is they do something similar to what PhoneGap does - add a webview in an XCode project. Webviews are basically embedded browsers that can run html5 and javascript. Then, they code their pages in html5 and can call their dataservices via ajax.

Here is actually a tutorial on how to add your html5 code to a webview in xcode: http://www.lostdecadegames.com/how-to-embed-html5-into-a-native-mac-osx-app/




回答2:


Check out this http://www.tidesdk.org/ build apps with html5




回答3:


Today you have some great tools made to build Mac OS X applications with HTML5/CSS3 and JavaScript. Like Sentenza Desktop : http://codecanyon.net/item/sentenza-desktop-for-mac/4070984




回答4:


http://nwjs.io/

NW.js lets you call all Node.js modules directly from DOM and enables a new way of writing applications with all Web technologies. It was previously known as "node-webkit" project.



来源:https://stackoverflow.com/questions/8491124/creating-html5-based-apps-for-the-mac-app-store

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!