How to create an iOS Appcelerator module using multiple XIB

I am trying to create an IOS AppOSerator module, basically this is converting the application to Native for the Appc module.

Own project was created using XIB.

So far I have created a proxy and used this proxy to get XIB using [[ViewController alloc] initWithNibName:@"ViewController" bundle: bundle];

I converted xibs to Nibs and put them in the Asset Project folder that calls the module.

Having done all this, I was able to display the ViewController screen . But there are no events happening on this screen.

Here is the code displaying the second xib:

- (IBAction)handleStinkyClick:(id)sender {
     firstScreen *fs=[[firstScreen alloc]initWithNibName:@"firstScreen" bundle:nil];
     fs.modalTransitionStyle=UIModalTransitionStyleFlipHorizontal;
     URLsForDirectory:NSDocumentDirectory  inDomains:NSUserDomainMask] lastObject]);
     [self presentViewController:fs animated:YES completion:nil];
  }

Is there something I don't see?

Any help would be appreciated.

+4
source share

Source: https://habr.com/ru/post/1616728/


All Articles