HTML5 and JavaScript wrapped in Cocoa

Discussion in 'Mac Programming' started by cpuin, May 18, 2013.

  1. macrumors member

    Feb 3, 2013

    1.I would like to make an native app for Mac OS using HTML5 and JavaScript.
    I would like to see some example of XCode project which launches a simple local index.html page.

    2.Is there any additional requirements from Apple (like Cordova for iOS) or it could be this for the App store?

    3.Any way to access reading/writing of files thru javascript?

    Many thanks!!!
  2. macrumors 6502

    Jan 3, 2012
    I just started using PhoneGap.

    I know there is a few others out there.
    Basically you make a small localserver and have a "www" folder that you add HTML and Javascript into, seems like PhoneGap is the most supported use though, since it's backed by Adobe.
  3. thread starter macrumors member

    Feb 3, 2013
    Many thanks for the replay.

    I downloaded and generated a Mac OS XCode project, but i can't find a documentation for PhoneGAP for Mac OS, but only for iOS, Android.....

    For example i would like to know how can i save, read and write a sqlite file with JavaScript.

Share This Page