"Ti" vs. "Titanium" prefix
Hi,
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 :-) ?
THX
Czar
2 Answers
-
Accepted Answer
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.