iPhone

Using JavaScript in iPhone Applications

I’ve been tinkering with using JavaScript (.js) in iPhone applications.  Using the libraries posted here

http://ejohn.org/blog/iphone-javascript-apps I was able to get the following script, which runs on my local webserver in OS X ported from Java to Xcode for iPhone:

The script runs online or offline since the .js files actually live within the Xcode project.  This is only a library for a much larger network utility application I’ve been considering.  There are also JavaScript libraries out there for ping and nslookup, although they haven’t proven to port.  Also, Dashcode projects typically won’t port so seamlessly…