VERSION 1.1 SINGLE PAGE CODE EXPORT

We have found a small issue with the code generation when exporting code from a project that has only one page or exporting code from page options. To fix this, find the following segment in the [PageName]ViewController.m file. The following example assumes a name of Page1 has been set.

// Link this view controller to our Dapp generated view
UIView *page1View = [[Page1View alloc] init];
self.view = page1View;

Replace the middle line that has the alloc/init code with the following code.

UIView *page1View = [[Page1View alloc] initWithParentViewController:self];

Please note that this only affects projects/designs with a single page or when using page options code export. This issue will be fixed in the Version 1.1.1 patch.

2 thoughts on “VERSION 1.1 SINGLE PAGE CODE EXPORT”

  • Seems that with the version 1.1.1 has not been fixed, i got today the software (that it’s a very good software), but as soon as i copied all the files and run the application i got the error:

    ‘UIView’ may not respond to ‘-alloc’.

    Any suggestions??

    • With the Actions update, we have noticed that sometimes the code export will incorrectly export the name of View Controllers. If you follow the Xcode warnings and errors, it will show you the incorrect line of code that needs to be updated with the correct name.

      Feel free to contact us directly with your code if you have further problems solving the issue.

Leave a Reply

Your email address will not be published. Required fields are marked *

Enter Captcha * Time limit exceeded. Please complete the captcha once again.