Adding an iOS Detail View with the Mobile SDK

One of the things I’ve illustrated with the iOS project of our Mobile SDK is the ease at which a developer can get up and running with the project template that comes with the SDK.  Out of the gate, the SDK demonstrates logging a user in with OAuth and accessing a list of results from a SOQL query to display within a standard table list view.  While this is a great boilerplate, especially showing a clear example of using OAuth for login (which if you are still, say, using a SOAP endpoint – you should be looking at OAuth as a best practice) – but if you’re completely new to iOS development, you might be looking for some basic next steps for building out your Force.com based iOS application.

For Cloudstock, I demonstrated the “5 minute iOS application”, which was essentially the creation of a brand new project and then adding in a custom SOQL statement, a detail view and the ability to click into the detail view, all of which are a very common next steps for creating a basic iOS application.  Here is the creation of that functionality via the power of YouTube:

If you’re following along at home and you want to see the code – I’ve got the final product up on github, which includes some other small improvements like showing proper errors and being able to update the record in Force.com using the REST API.  I’ll include those steps in some upcoming blog posts.

 

Published
March 30, 2012
Topics:

Leave your comments...

Adding an iOS Detail View with the Mobile SDK