I am an iPhone developer and a beginner in using Titanium studio. I started to learn Titanium few days back and worked on some samples which uses view, navgroup, images, etc. I’d like to step advance. I can not find samples to create a custom function, calling a function in Google. So, someone here guide to how to create a simple function, calling a function and sample for passing arguments. Thanks in advance.
Share
It’s just JavaScript, so use it like JavaScript like below:
Example 1:
Example 2:
Calling function:
Memory wise it is best to do something like this: