Generate Object API code for the iOS platform, develop a universal iOS
device application with code, and test its functionality. The device application communicates with the database MBOs that are deployed to Unwired Server.
Prerequisites
Note:
This tutorial has been developed using Sybase Unwired Platform 2.2 SP04, Mac OS X 10.8.2, iOS SDK 6.1, and Xcode
4.6 Development Environment, and executed on an iOS Simulator v 6.1. If you use
a different version, some steps may vary. For more information on Xcode, refer
to the Apple Developer Connection: http://developer.apple.com/technologies/tools/whats-new.html.
Complete
the tasks in Getting Started with Unwired
Platform.
Either:
create
the MBO project by completing
Tutorial: Mobile Business Object Development,
or
download
and
deploy
the
MBO SUP101 example
project
(complete project files) from the
SAPĀ®
Community
Network: http://scn.sap.com/docs/DOC-8803.
Note: If
you upgrade Sybase Mobile SDK after completing the tutorial, you can convert the
project to the current SDK by importing the earlier project into the Unwired
Workspace and then accepting the confirmation
prompt.
(Optional) To use as a reference and copy source code when completing this
tutorial, download the iOS SUP 101 example project (source code only) from the
SAPĀ® Community Network: http://scn.sap.com/docs/DOC-8803.
Task
Installing Xcode IDE
Download and install the Apple Xcode IDE to build, deploy, and run a mobile application on an iPhone simulator.
Generating Object API Code
Launch the code generation wizard and generate the object API code for a replication-based iOS application.