is there a difference? Somettimes you see code around starting with Ti.xyz and soemtimes Titanium.xyz.
- What is the difference?
- Can you switch between those 2?
Is there any advantage of Ti besides less characters :-) ?
Ti is just an alias to the Titanium namespace. They are synonymous, and you can interchange them freely. Personally, I prefer using Ti, but it's up to you.
It should also be noted that Ti does NOT work inside a webview, but Titanium does.