21
Intro to the Salesforce Mobile SDK: Building iOS Apps September 5, 2013

Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

Embed Size (px)

DESCRIPTION

Salesforce Platform Mobile Services provides developers with tools to easily create mobile applications while leveraging existing skill sets like Visualforce, JavaScript and HTML 5. The open-source Salesforce Platform Mobile SDKs give you the flexibility to build native, web and hybrid apps for iOS and Android. This webinar is the second in a series focusing on the new Mobile SDK 2.0 features, and will demonstrate how to create your own native iOS mobile applications that interface with the Salesforce Platform. The webinar walks you through the development of a simple native iOS application that retrieves records from Salesforce Platform and displays them in a master-detail view. You will then implement the means to update a record’s details and send the updated results back to the service. Key Takeaways: Learn how to build iOS apps quickly with the Mobile SDK 2.0 See how to interact securely with Salesforce API’s using Objective-C Intended Audience: Developers experienced with Salesforce Platform and have a working understanding of Objective-C

Citation preview

Page 1: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

Intro to the Salesforce Mobile SDK: Building iOS Apps September 5, 2013

Page 2: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Safe Harbor

Safe harbor statement under the Private Securities Litigation Reform Act of 1995:

This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.

The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site.

Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.

Page 3: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Speakers

Kevin Hawkins Software Engineering LMTS @imsorrysandwich

Josh Birk Developer Evangelist @joshbirk

Page 4: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Follow Developer Force for the Latest News

@forcedotcom / #forcewebinar

Developer Force – Force.com Community

+Developer Force – Force.com Community

Developer Force

Developer Force Group

Page 5: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Have Questions?

§  We have an expert support team at the ready to answer your questions during the webinar.

§  Ask your questions via the GoToWebinar Questions Pane.

§  The speaker(s) will chose top questions to answer live at the end of the webinar.

§  Please post your questions as we go along!

§  Only post your question once; we’ll get to it as we go down the list.

Page 6: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Agenda

§  Getting Started with iOS Native Apps

§  Building your !rst iOS App for Salesforce

§  Resources and Next Steps

§  Q & A

Page 7: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Suite of downloadable apps for accessing Salesforce data from a mobile device

Mobile AppExchange for discovering purpose-built apps or vertical solutions by industry

Custom mobile apps designed and built by you or an ISV partner

Salesforce Has The Answer For Every Mobile Need

Page 8: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

http://developer.force.com/mobile

Salesforce Platform Mobile Services

Page 9: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Three Mobile Development Options

Page 10: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Accessible To Developers of All Levels

Power and Flexibility for Advanced Coders

Apps for Employees, Partners, and Customers

Native or Hybrid – Android and iOS

Salesforce Mobile SDK 2.0

•  OAuth2 •  Of"ine Datastore •  SmartSync Framework •  Hybrid Container •  API Wrappers

Page 11: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Getting Started

§  Node.js + NPM: –  http://nodejs.org and http://npmjs.org

§  Download the forceios application –  npm install forceios

§  De!ne your connected app –  Setup / Apps / Connected Apps

§  Create the sample application –  forceios create

Page 12: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Connected Apps

§  De!ne your application public and private keys

§  De!ne OAuth permission scope

§  De!ne features like Canvas access and PIN locking

Page 13: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Chapter 1:

Connected Apps

Page 14: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Using forceios

Page 15: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Code Walkthrough

Page 16: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Your First iOS App

§  Add a detail view class

§  Create the detail view interface

§  Link the List View to the Detail View

§  Enable the update button

Page 17: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Create the Detail View

Page 18: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Recap

§  Getting started with the Mobile SDK and native iOS –  Connected Apps

–  npm install forceios

–  forceios create

§  Building your !rst application –  Application Overview

–  SFRestAPI and SFRestRequest

–  Adding and enabling the Detail View

Page 19: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Resources §  Salesforce Platform Mobile Services

–  http://developer.force.com/mobile

§  Mobile SDK –  npm install forceios

–  https://github.com/forcedotcom/

§  iOS Workbook

–  http://bit.ly/ios_sdk_workbook

–  http://bit.ly/ios_warehouse_example

Page 20: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

#forcewebinar

Next Steps §  Get a Developer Edition Account

–  http://developer.force.com/join

§  Download the Workbook –  http://bit.ly/ios_sdk_workbook

§  Install forceios –  npm install forceios

§  Build your app

Page 21: Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar

Q & A

#forcewebinar

Kevin Hawkins Software Engineering LMTS @imsorrysandwich

Josh Birk Developer Evangelist @joshbirk