Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Difference between Ti.App & Titanium.App

Hiya,

Just a quick tech question:

What's the difference between the expressions "Ti.App" and "Titanium.App", and when is it appropriate to use one over the other?

Thanks!
Glen

— asked November 22nd 2010 by Glen McPherson
  • expressions
  • ti.app
  • titanium
  • titanium.app
0 Comments

3 Answers

  • Accepted Answer

    Hi Glen

    The Ti. namespace is an alias to Titanium. . They are synonymous and can be used interchangeably. Personally, I only ever use Ti. because there is no disadvantage to it.

    Hence, in your example, I would only ever use Ti.App.

    Hope this helps

    — answered November 22nd 2010 by Paul Dowsett
    permalink
    0 Comments
  • Hi Glen,
    They are the same thing one is just a shortcut. I like using Ti just so the page doesn't look so messy.

    — answered November 22nd 2010 by Rick Blalock
    permalink
    0 Comments
  • Yes, Ti.namespace is the shortcut for Titanium.namespace.

    — answered September 15th 2011 by Rohit Dhiman
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.