Generated Code Location and Contents

If you generated code in Unwired WorkSpace, generated object API code is stored by default in the "Destination" location you specified during code generation. If you generated code with the Code Generation Utility, generateed object API code is stored in the <UnwiredPlatform_InstallDir>\UnwiredPlatform\MobileSDK\ObjectAPI\Utils\genfiles folder after you you generate code .

The contents of the folder is determined by the options you selected in the Generate Code wizard in Unwired WorkSpace, or specified in the Code Generation Utility. The contents include generated class (.h, .m) files that contain:
  • MBO – class which handles persistence and operation replay of your MBOs.
  • Synchronization parameters – any synchronization parameters for the MBOs.
  • Personalization parameters – personalization parameters used by the package.
  • Metadata – Metadata class that allow you to query meta data including MBOs, their attributes, and operations, in a persistent table at runtime..