iOS Module - how to use a view inside a module

You must Login before you can answer or comment on any questions.

Hi,

the iOS module guide is nice but lacks real world examples, I can't even get the explained example with the red square to run.

I have an xcode project which creates and manage interactions with my special view that I would like to use inside titanium.

I have the following interfaces

UIApplicationDelegate RootViewController : UITableViewController <UIScrollViewDelegate>

I don't understand how to tie my rootViewControler within a module.

can anyone please share a sample code in that general direction ? or provide some pointers ?

thanks

3 Answers

About getting the example running, you'd need to provide more information about your env. platform versions, studio version, mobile sdk version, etc.

Now as for hooking up your module, you should use the module template to create and build your file layout. The template clearly shows how your view files should relate.

ios 4.3 xcode 4.0 titanium developer 1.2 sdk 1.7.0/1.7.1/1.7.2

following the Ti iOS module PDF guide

I created a new module project, which said it created it and installe Appcelerator templates - which it did not for some reason.

The module project created just gets a string from a module and assign it to a javascript label on screen -> nothing visual is important from the module like I need.

frankly, without proper documentation or sample project I just have no idea how to proceed with this and utilize my visual component and the UITableViewController interface to Ti javascript projects

— answered 2 years ago by Moshe Marciano
answer permalink
2 Comments
  • Before answering this, I would like to try and get a good starting point... are you an Obj-C developer? or are you just getting started with iOS development?

    — commented 2 years ago by Matt Apperson

  • well.. I have limited experience with Obj C, I am however an experienced developer.

    my Obj-c skill were sufficient to complete my custom view which is running just the way I want it in a Obj-C project, but I am stumped as for integrating it into a Ti module. I need help integrating the two-three Obj-C Interfaces into the Ti module.

    — commented 2 years ago by Moshe Marciano

Your Answer

Think you can help? Login to answer this question!