Some tips developing iOS apps with Appcelerator Titanium


I just got my first free app, Khan Archiver, approved under iOS store. It was quite an exciting experience. However, more time was actually spent wresting with Titanium SDK, and waiting for app approval, than development itself.

These are some tricks I learned throughout my struggling and have I known of them before, life would have been much easier

    var file = Titanium.Filesystem.getFile( 
    				Titanium.Filesystem.applicationDataDirectory + "../Library/Caches/" + file_name)

Happy coding!