extensions documentation clarification.
in the documentation…
http://developer.appcelerator.com/doc/mobile/iphone/module_sdk
Question: is this documentation section correct?
there is a reference to:
mymodule
MyFirstModule
Titanium.Myfirst
var mymodule = Titanium.Myfirst
its a little confusing as far as naming conventions go.
there is a section:
<modules>
<module version="0.1">mymodule</module>
</modules>
…
Currently, all modules will be available only via the Titanium namespace. For example, if your module is named MyFirstModule, you would access module APIs via the API: Titanium.Myfirst. The module in the name will automatically be removed when resolving your module. Also, all characters after the first are always lower-cased.
Example:
var mymodule = Titanium.Myfirst;
This will simply assign your module to a variable. You can simply ignore the return value since we're just making the app load the app.
At this point, the module should have been loaded and you should see a log message in the console of Titanium Developer.