The ArcGIS Runtime SDK for iOS provides numerous code samples to help get you started. The sample project arcgis-runtime-samples-ios contains code that illustrates some of the following functionality (and much more):
- Set extent and spatial reference
- Handle Map Gestures
- Label a dynamic layer
- Query and select from a feature layer
- Add interactively
- Display map tips
- Geometric operations
- Create buffer polygons around features
- Clip feature geometry with an envelope
- Calculate area and perimeter
Access the samples
- If you don't already have a login, Sign up for GitHub (it's free).
- If you're new to GitHub, you may want to review some common help topics to get started.
- Visit the arcgis-runtime-samples-ios repository.
- Follow the instructions in the repo's README file to work with the sample projects in your local development environment.
Getting started with GitHub
ArcGIS Runtime SDK for iOS samples are maintained using GitHub, a web-based hosting service for software development projects that uses an open source revision control system called Git. For an introduction to Git and how it compares with other version control systems, see Git basics. To learn how to interact with Git repositories with GitHub and to sign up for a free account, visit github.com.
Consult the following links for help getting started with GitHub
GitHub provides the following features
- Keep your local repository in sync by pulling changes from the Esri (master) repository. As the ArcGIS Runtime SDK for iOS team makes additions to the samples, you can easily pull them into your local version of the code.
- Submit or track issues related to the samples (bugs, e.g.). You can get notifications for activity on issues you choose to follow.
- Provide additions, updates, and improvements to the code via pull requests. One of the goals of GitHub is provide a collaborative environment, referred to as 'social coding'.
iOS tips and tricks
If you're interested in some awesome iOS tips, check out the tips-and-tricks-ios repository. The repo contains all the code for the popular Tips and Tricks Demo Threater at the UC 2013.
ArcGIS iOS projects
Additional code repositories are available from the ArcGIS iOS Team on GitHub. Here you will find code from technical sessions, demos, samples and presentations given at Esri events (such as the Developer Summit or Esri Users Conference, e.g.).