Skip to content

Sample Apps

tstellanova-sfdc edited this page Nov 29, 2011 · 1 revision

We've provided a few sample apps to help you get started with iOS development for Force.com and Database.com:

RestExplorer (native)

This native app shows how you can access the Salesforce REST API from a native app, and gives you a few default queries to run.

ContactExplorer (hybrid)

This app shows how to access local device data from HTML using APIs included in the SDK, including PhoneGap/callback-ios.

VFConnector (hybrid)

The Visualforce Connector sample app shows you how to connect with an existing Visualforce page in your org. By using the Salesforce Mobile SDK with the Visualforce page you may take advantage of any PhoneGap features you desire including address book access, camera access, and so forth.

Native Force.com App Template (native)

When you create a new app in Xcode using the "Native Force.com App" template, the default RootViewController created for you simply runs a SOQL query. You can then modify this to access the specific data you desire.

Hybrid Force.com App Template (hybrid)

When you create a new app in Xcode using the "Hybrid Force.com App" template, the default index.html page sets up an app nearly identical to the ContactExplorer sample app.