Most of the devices nowadays are equipped with an accelerometer that detect the orientation of the device or the movements the user is doing with it.
Titanium exposes this functionality through its APIs so let’s take advantage of that
Almost any UI element can be animated and transformed, allowing you to add to your application some eye candy or simply take advantage of predefined elements to give them a new role. For those familiar with CSS3 animations this will come very easy as the concept it’s pretty the same.
Pointless to say, an animation will change one or more properties of an element form the current stage to another (set by us) in a period of time.
Welcome to day 2 with Titanium – Tables and pickers. A short reminder of what we’ve done till now:
Believe it or not, the table is the most used UI element in the iPhone SDK. If you play a little with the applications that come with your “iDevice” you will see that almost all the native apps have tables. Sometimes they are so well designed and the appearance so changed that you don’t even think of them as tables. But in time, while you will learn more, you will be able to spot it and a lot of ideas will come to you . Also I think that that the pickers are some sort of “undercover tables” so that’s why I’ll present both in the same tutorial.