Salesforce mobile SDK Webinar

Embed Size (px)


「Salesforce mobile SDK Webinar」の発表資料です。 Developer Force JapanではForce.com開発者に必要な各種技術資料の公開や、Webinarセミナー等を定期的に開催しております。

Text of Salesforce mobile SDK Webinar

  • 1. Salesforce Mobile SDK ISV Architect, 1
  • 2. Safe HarborSafe 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 suchuncertainties materialize or if any of the assumptions proves incorrect, the results of, inc. could differmaterially from the results expressed or implied by the forward-looking statements we make. All statements other thanstatements 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 ofmanagement for future operations, statements of belief, any statements concerning new, planned, or upgraded services ortechnology 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 anddelivering 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 oursecurity measures, the outcome of intellectual property and other litigation, risks associated with possible mergers andacquisitions, 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, ourlimited history reselling products, and utilization and selling to larger enterprise customers. Furtherinformation on potential factors that could affect the financial results of, inc. is included in our annual reporton Form 10-Q for the most recent fiscal quarter ended April 30, 2011. This documents and others containing importantdisclosures 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 notcurrently available and may not be delivered on time or at all. Customers who purchase our services should make thepurchase decisions based upon features that are currently available., inc. assumes no obligation and doesnot intend to update these forward-looking statements. 2
  • 3. 3
  • 4. 3
  • 5. 4
  • 6. iOS App Store XcodeObjective C 5
  • 7. Force.comiOS Apex API Salesforce Mobile SDK iOS SDK 6
  • 8. Force.comiOS Apex API Salesforce Mobile SDK iOS SDK 6
  • 9. Force.comiOS Apex API Salesforce Mobile SDK iOS SDK 6
  • 10. Force.comiOS Apex API Salesforce Mobile SDK iOS SDK 6
  • 11. Demo App 7
  • 12. Mobile SDK Xcode github $ git clone $ cd SalesforceMobileSDK-iOS/ $ ./ Native REST App Use Automatic Reference Counting 8
  • 13. Mobile SDK Native AppDelegate Consumer IDCallback URL RootViewController 10 SFAuthorizingViewController SFNativeRestAppDelegate UIApplicationDelegate 9
  • 14. SFNativeRestAppDelegate didFinishLauchingWithOptions:(NSDictionary *)launchOptions setupAuthorizingViewController setupAuthorizingViewController rootViewControllerSFAuthorizingViewController loggedIn newRootViewControllerrootViewControllerRootViewController newRootViewControllerAppDelegate 10
  • 15. RootViewController viewDidLoad Force.com10SFRestRequest *request = [[SFRestAPI sharedInstance] requestForQuery:@"SELECT Name FROM User LIMIT 10"];[[SFRestAPI sharedInstance] send:request delegate:self]; didLoadResponse:(id)jsonResponse self.datarows cellForRowAtIndexPath:(NSIndexPath *)indexPath 11
  • 16. UIApplicationDelegate UIAlertViewDelegate UIViewController UITableViewController SFAuthCoodinatorDelegate Subclass SFAuthorizingViewController Protocol SFNativeRestAppDelegate Subclass Subclass AppDelegate RootViewController Import Import SFRestAPI SFRestRequest 12
  • 17. CRUDNSString *objectType = @"Contact";NSDictionary *fields = [@"{FirstName:Kazuki, LastName:Nakajima}" JSONValue];SFRestRequest *request = [[SFRestAPI sharedInstance] requestForCreateWithObjectType:objectType fields:fields];[[SFRestAPI sharedInstance] send:request delegate:self];NSString *objectId = @"1234567890";NSString *objectType = @"Contact"; SFRestRequest *request = [[SFRestAPI sharedInstance] requestForDeleteWithObjectType:objectType objectId:objectId];[[SFRestAPI sharedInstance] send:request delegate:self]; 13
  • 18. 14
  • 19. iOS Web App Store 15
  • 20. Force.comiOS Apex API