Generating Object API Code

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

  1. In Unwired WorkSpace, open the SUP101 mobile application project.
    In WorkSpace Navigator, right-click the SUP101 folder and select Open in Diagram Editor.
  2. Right-click in the SUP101 Mobile Application Diagram and select Generate Code.
  3. Make sure the Customer and Sales_order MBOs are selected, then click Next.
  4. Enter these configuration options and click Next:


    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.
  5. Click Finish.
    Objective-C code is generated into the specified output location.