The ArcGIS Runtime SDK for iOS Toolkit contains components that will simplify your iOS app development. Check out the Examples project to see these components in action or read through the Documentation to learn more about them.
Try ArcGIS Maps SDK for Swift version 200
ArcGIS Runtime SDK for iOS version 100.15 is a long-term support release focused exclusively on bug fixes and minor updates.
ArcGIS Maps SDK for Swift version 200 builds on the proven architecture of 100.15, and provides a new API designed exclusively for developing iOS apps using Swift - Apple's modern, powerful, and intuitive programming language.
To use Toolkit in your project:
https://github.com/Esri/arcgis-runtime-toolkit-ios
as the package repository URL.pod 'ArcGIS-Runtime-Toolkit-iOS'
to your podfileAGSGeoView
.AGSFeatureTemplate
when creating new features.The ArcGIS Runtime Toolkit for iOS has a Target SDK version of 14.0, meaning that it can run on devices with iOS 14.0 or newer.
https://github.com/Esri/arcgis-runtime-toolkit-ios
as the package repository URLChoose version 100.15.0 or a later version. Click Next.
Note: The Toolkit Swift Package adds the ArcGIS SDK Swift Package as a dependency so no need to add both separately. If you already have the ArcGIS SDK Swift Package delete that and just add the Toolkit Swift Package.
New to Swift Package Manager? Visit swift.org/package-manager/.
pod 'ArcGIS-Runtime-Toolkit-iOS'
to your podfilepod install
. This will download the toolkit and the ArcGIS Runtime SDK for iOS which the toolkit depends upon
and then configure your project to reference them bothAdd import ArcGISToolkit
in your source code and start using the toolkit components
New to cocoapods? Visit cocoapods.org
arcgis-runtime-toolkit-ios
folder into your project through the Xcode Project Navigator paneimport ArcGIS
and import ArcGISToolkit
in your source code and start using the toolkit componentsNote: The manual installation method also allows you to use a local installation ArcGIS Runtime SDK for iOS by making minor edits to the swift package.
Some of the toolkit components and examples utilize a set of ready-to-use ArcGIS Platform services, including basemaps, and therefore require an API Key to be set in AppDelegate.swift
. Please see the setup guide for more information.
Both the Toolkit and Examples app support SwiftLint. You can install SwiftLint from
here. It is not necessary to have it installed in order to build, but you will
get a warning without it. The specific rules the linter uses can be found in the swiftlint.yml
files in the Toolkit
and Examples
directories.
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.
Copyright 2017 - 2022 Esri
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
A copy of the license is available in the repository's LICENSE file.