Developing an iOS Application

Goal: Generate Object API code for the iOS platform, develop a universal iOS device application with code, and test its functionality.

Prerequisites
Complete these tasks:
Task

The device application communicates with the database MBOs that are deployed to Unwired Server.

Supported platforms include:
  • For development, MacOS 10.6 (Snow Leopard) and Xcode 4.0
  • For deployment, iOS SDK 4.2 and 4.3
  1. Open the SUP101 mobile application project.

    In WorkSpace Navigator, right-click the SUP101 folder and select Open in Diagram Editor.

    Note: If you do not see the SUP101 folder, make sure that you have successfully completed Tutorial: Mobile Business Object Development, which is a prerequisite for this tutorial.
  2. Generate the object API code for iOS.
  3. Set up the universal iOS client application in Xcode.
  4. Register the iPhone simulator in Sybase Control Center.
  5. Create the SUP101 CallbackHandler file.
  6. Add the SubscribeController View controller.
  7. Add the CustomerListController.
  8. Add the DetailController.
  9. Deploy the application to the simulator.