creating cloud apps for the iphone and ipad

35
Creating Cloud Apps for the iPhone and iPad Developer Track Quinton Wall, salesforce.com

Upload: salesforce

Post on 22-Jun-2015

1.132 views

Category:

Business


0 download

DESCRIPTION

The proliferation of mobile devices and the wide adoption of iPhone and iPad make iOS apps one of the fastest growing segments in computing today. But every mobile application still needs a robust, secure, reliable and capable database. No problem—This session will walk you through how to get started writing mobile iPad and iPhone applications for the cloud. Presented by: Quinton Wall, salesforce.com

TRANSCRIPT

Page 1: Creating Cloud Apps for the iPhone and iPad

Creating Cloud Apps for the iPhone and iPadDeveloper Track

Quinton Wall, salesforce.com

Page 2: Creating Cloud Apps for the iPhone and iPad

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 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, breachof 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, 2011. 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: Creating Cloud Apps for the iPhone and iPad

!ouy knaht

Page 4: Creating Cloud Apps for the iPhone and iPad

iOS < 2min

Page 5: Creating Cloud Apps for the iPhone and iPad

iOS enterprise development is here.

Be ready for it.

Page 6: Creating Cloud Apps for the iPhone and iPad

The average iPhone user has 63 apps installed.

20% have more than 100

Page 7: Creating Cloud Apps for the iPhone and iPad

How many apps do you have?

Settings General About Applications

Page 8: Creating Cloud Apps for the iPhone and iPad

Here’s one you probably don’t have….

….yet!

Page 9: Creating Cloud Apps for the iPhone and iPad

“The secret of getting ahead is getting started.”

--Mark Twain

Page 10: Creating Cloud Apps for the iPhone and iPad

Xcode

Page 11: Creating Cloud Apps for the iPhone and iPad

Graphical UI Designer

Code debugging

Object palette

Project tree

Target device

Page 12: Creating Cloud Apps for the iPhone and iPad
Page 13: Creating Cloud Apps for the iPhone and iPad

Some Terminology when Working with UI Apps

.h .m

.xib

implements

‘wire up’ outlets Handle events & logic

Header file Message file*

‘nib’ defines the UI

Page 14: Creating Cloud Apps for the iPhone and iPad

Xibs Often Have Multiple View Controllers

TableViewcomponent

View component

.m

.m

Page 15: Creating Cloud Apps for the iPhone and iPad

#pragma mark demo time

-(void) helloClicked:(id)sender{ NSLog(@”you pressed me.");

}

Page 16: Creating Cloud Apps for the iPhone and iPad

.hDelegates

-(@interface MyApp : NSObject<UITableViewDelegate, SFRestDelegate>

.m-(void) oauthCordinatorDidAuthenticate: (SFOAuthCoordinator*)coordinator

Page 17: Creating Cloud Apps for the iPhone and iPad

Selectors

SFRestRequest *request;request = [[SFRestAPIsharedInstance] send:requestdelegate:self];

.m

.m-(void) request(SFRestRequest*)request didLoadResponse:(id) response {…

Page 18: Creating Cloud Apps for the iPhone and iPad

Unless you have been living under a rock, my precious, you know iOS it hot.

Page 19: Creating Cloud Apps for the iPhone and iPad

220,000,000

Page 20: Creating Cloud Apps for the iPhone and iPad

86%

Page 21: Creating Cloud Apps for the iPhone and iPad

Writing apps is easy ……right?

Page 22: Creating Cloud Apps for the iPhone and iPad

Did you follow the 101?

Page 23: Creating Cloud Apps for the iPhone and iPad

Cloud.

Enterprise reqs.

If (Java || .net devs)GC == WMD

Page 24: Creating Cloud Apps for the iPhone and iPad

“Simplicity is the ultimate sophistication.” --Leonardo da Vinci

Page 25: Creating Cloud Apps for the iPhone and iPad

iOS Mobile SDK

Page 26: Creating Cloud Apps for the iPhone and iPad

OAuth 2.0 Authentication

[SFOAuthCoordinator alloc] initWithCredentials: credentials] autorelease];[self.coordinator authenticate];

.m

.m

-(void)oauthCoordinatorDidAuthenticate:(SFOAuthCoordinator *) coordinator {…

Page 27: Creating Cloud Apps for the iPhone and iPad

RESTful CRUD Operations

SFRestRequest *request;…[[SFRestAPI sharedInstance] send: request delegate:self];

.m

.m

..didLoadResponse:(id) response {self.dataRows = [response objectForKey:@”records”]; …

Page 28: Creating Cloud Apps for the iPhone and iPad

iOS < 2min?

Page 29: Creating Cloud Apps for the iPhone and iPad

Database.com Xcodetemplate

Page 30: Creating Cloud Apps for the iPhone and iPad

#pragma mark demo time

-(void) nothingUpMySleeve:(id)sender{ NSLog(@”I heart the iOS wizard");

}

Page 31: Creating Cloud Apps for the iPhone and iPad

iOS < 2min :)

Page 32: Creating Cloud Apps for the iPhone and iPad

Enterprise Demand iOS< 2m Download

http://developer.force.com/mobile

Page 33: Creating Cloud Apps for the iPhone and iPad

[[SFRestAPIsharedInstance] requestForQuery:@"selectQuestions from Audience"];

Page 34: Creating Cloud Apps for the iPhone and iPad

But wait, the DevZone has more!

HackathonCheck out the Finale, Thurs, 2:30pm

Open Source LabDiscover new & interesting open projects

Lightning ForumDrop in for a quick blast of knowledge

Tech DemosSee and learn the latest from the experts

Code ConsultationsSign up for 1:1 sessions at the Welcome Desk

@forcedotcom

Page 35: Creating Cloud Apps for the iPhone and iPad

Watch your inbox at the end of each day for an email from our survey partner, Alliance Tech.

Click on the personalized link to be directed to the survey page for the sessions you attended.

How Could Dreamforce Be Even Better? Tell Us!

Every session survey you submit is a chance to win

an iPad 2!