Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal...

30
Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual

Transcript of Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal...

Page 1: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

Developing iOS and Mac Apps with ArcGIS Runtime SDKDivesh Goyal & Al Pascual

Page 2: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Introducing the SDK

Type Presentation Title Here

Page 3: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

•What is runtime

•What are iOS/OS X SDKs

•Min Requirements for SDKs, Supported Devices

Page 4: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

Page 5: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

Page 6: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

Where do apps come from?Personalized View in to the ArcGIS Platform

PartnersPartners

Developers Developers

EsriEsri

ArcGISArcGIS

Page 7: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

Runtime SDKs

• Native APIs for building focused applications

• Embed ArcGIS into existing applications

• Common conceptual framework across platforms

• Powered by a Runtime

Page 8: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

Before you begin…

• Intel-based Mac- OSX 10.7, 10.8 and 10.9

(Lion & Mountain Lion

- and Mavericks)

• Xcode (IDE) from the App Store- Simulator

- iOS SDK

• ArcGIS Runtime for iOS v10.2

To test and deploy on actual hardware or older iOS…

• Join Apple’s iOS Developer Program- Standard : AppStore distribution

- Enterprise : In-House distribution

Page 9: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Building a mapping application

Type Presentation Title Here

Page 10: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

•Install using cocoa pods

•Display map (web maps / layers )

•Show popups

•Search for places

•Routing

•License (Basic client id)

•Reuse code for OS X apps

Page 11: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

CocoaPods

• Get the SDK from Github or CocoaPods• pod ‘ArcGIS-Runtime-SDK-iOS’• pod ‘ArcGIS-Runtime-SDK-OS-X’

Page 12: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Runtime Licensing

Page 13: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

From iOS to OS X

Type Presentation Title Here

Page 14: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

The ArcGIS Runtime SDK for OS X

• Platform- OS X 10.8, 10.9, 10.10

• API- API in ArcGIS.Framework - 95% common with iOS

- Resources in ArcGIS.Bundle

• Sample Application

• Esri Application Framework Kits

• Developers.ArcGIS.com- Guides, API Reference, Forum, Blogs

• ArcGIS.com- ArcGIS Runtime Preview App and Code

- Sample Application

Page 15: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

iOS to OS X

• Cocoa Touch to Cocoa

• ArcGIS Framework – almost identical

• Threading Differences

• UIColor, UIView, UIViewController, UIImage etc.

Page 16: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Divesh Goyal

Demo

Page 17: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Getting data onto the device.

Offline

http://www.maclife.com/files/u220903/iphone_5_plugged_in_620px.png

Page 18: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

Offline map use

View mapsFeatures & Basemaps

Query mapsEdit maps

RouteGeocode

View mapsFeatures & Basemaps

Query mapsEdit maps

RouteGeocode

Pre-plannedOccasionally connected

Pre-plannedOccasionally connected

Page 19: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

• Workflows

• GIS Assets- Titles (Rasters)

- Features (Vectors)

- Addresses (Geocoding)

- Routes (Network)

Type Presentation Title Here

Page 20: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

Workflows

• Pre-planned

• On-demand

• Occasionally connected

Page 21: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

Offline ArcGIS

• Disconnected use of the ArcGIS platform- Viewing/interacting with maps

- Querying data

- Editing features- Synchronization

- Spatial intelligence- Find places and locations

- Get directions

- Pre-planned or on demand workflows

- Occasionally connected scenarios

• All Runtime SDKs

Page 22: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

Assets

• Tiles

• Features

• Addresses

• Routes

http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/03/topic_iphone_5c.png?itok=z2U8jqc9

Page 23: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Runtime Licensing

Page 24: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Divesh Goyal

Demo Offline

Page 25: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Future

Type Presentation Title Herehttp://media.bestofmicro.com/delorean,N-G-311884-13.jpg

Page 26: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Using Swift with ArcGIS Runtime SDK for iOS and OS X

Type Presentation Title Here

Page 27: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Release Strategy

Deployment

Type Presentation Title Here

Page 28: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

Get more information on ArcGIS

http://developers.arcgis.com

http://arcgis.com

http://www.esri.com

@esri

@arcgis_runtime

Page 29: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop |

Thank you…

• Please fill out the session survey:

First Offering ID: 1392

Online – www.esri.com/ucsessionsurveys

Paper – pick up and put in drop box

Type Presentation Title Here

Page 30: Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.

Esri UC 2014 | Technical Workshop | Type Presentation Title Here