![]() It will be accessible from Objective-C code but not from JavaScript. If a file or class is added to the project and does not conform to these conventions, it will be treated as a normal non-Titanium class. ![]() Titanium uses a strict naming convention and directory structure to manage the module classes and resources. ![]() Every file and class you add to the module project must start with name and every file and class you add must end with Proxy, ViewProxy or View, which determines how Titanium uses the files. Notice that all the files start with the module ID in camel case notation. You can ignore these for now in this tutorial. Every module requires a module class (and only one module class), which acts as the base API for the module, such as providing the module ID, GUID, etc.ĬomExampleTestModuleAssets.h and ComExampleTestModuleAssets.m: These are the header and source files to manage module assets. Expand the Classes folder and take a look at the default files created by the Titanium SDK:ĬomExampleTestModule.h and ComExampleTestModule.m: These are the header and source file for the module class. Your module project is now open in Xcode. Migrate a Titanium Application to the Platform.Transfer your app from Appcelerator CLI to Titanium CLI.Cross-Platform Mobile Development In Titanium. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |