I’ve been using Accelerator Titanium to create iPhone applications in JavaScript. One thing JavaScript is missing is really good editor with autocompletion / code completion. I recently found Aptana and wanted a way to autocomplete from the Titanium API in that. I’ve created ScriptDoc compatible JavaScript header file that does the job.
- You can download the PHP file here that I use to create the JavaScript header file from the Titanium API JSON file. Run the PHP script in the same directory as the api.json file from Titanium.
The Titanium Studio based on Aptana/Eclipse has code-completion included...
james david low
- It’s true that you can’t manually manage your application objects’ reference count in iOS applications. There are, however, things you can do to free up memory – the big ones in the 1.x product are closing windows (which releases all UI resources associated with the window) and setting references to a proxy object (like one returned by Ti.UI.createXXX) to null, which will release the resources associated with that object. Why you should stay away from Titanium
Comments
Post a Comment