Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating HTML5-based apps for the Mac App Store

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.

like image 535
user564320 Avatar asked Dec 13 '11 14:12

user564320


1 Answers

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/

like image 168
swatkins Avatar answered Nov 16 '22 05:11

swatkins