Generating Object API Code

Launch the code generation wizard and generate the object API code for a message-based iOS application.

  1. Right-click in the SUP101 Mobile Application Diagram and select Generate Code.
  2. In the code generation wizard, accept the default, Continue without a configuration, and click Next.
  3. Make sure the Customer and Sales_order MBOs are selected, then click Next.
  4. Enter these configuration options and click Next:

    iphone_code_generation_configure
    Option Description
    Language Select Objective C.
    Platform Accept the default, iOS.
    Unwired server Select My Unwired Server.
    Server domain Accept default. If you are not connected to Unwired Server, this field is empty. Connect to Unwired Server to proceed.
    Name prefix The prefix for the generated files. Leave blank.
    Project path Accept the default or enter a different location for the generated project files.
    (Optional) Clean up destination before code generation Select this option to delete all items in the destination folder before generating the device client files.
    Message-based Default for Objective-C.
  5. Click Finish.
    Objective-C code is generated into the specified output location.