ArcGIS Maps SDK for Swift is designed for building powerful mapping applications using patterns and techniques familiar to Swift developers. It is the next-generation mapping API succeeding ArcGIS Runtime SDK for iOS, sharing a lot of underlying architecture, capabilities, and concepts, tuned to fit the latest Apple developer technology. Some highlights are listed below.
Swift is modern and concise, promoting safety and developer productivity. ArcGIS Maps SDK for Swift closely follows Swift's API naming conventions and embraces many language features, such as default arguments, value types, optionals, and swift packages to make it feel intuitive and natural to Swift developers.
SwiftUI makes it easy to build multi-platform user interfaces with less code using a declarative approach. ArcGIS Maps SDK for Swift includes native SwiftUI
Scene components to display 2D maps and 3D scenes. These components have built-in support for user interaction and can be customized through well-known patterns such as SwiftUI modifiers. The accompanying open-source toolkit also provides a number of ready-made mapping components such as Scalebar, Compass, FloorFilter, and Popup to jump-start your application development.
Swift concurrency makes it easy to manage complexity in your app by writing readable, asynchronous code. ArcGIS Maps SDK for Swift adopts Swift's structured concurrency features such as async/await to eliminate completion handlers and makes your code safer. It also allows you to easily integrate asynchronous workflows into SwiftUI using the
Mac Catalyst allows you to customize and run iOS apps on Mac computers. ArcGIS Maps SDK for Swift offers first-class support for developing mapping applications for macOS by leveraging high-performance Metal rendering, Apple silicon compatibility, and keyboard/mouse/trackpad input.
GeometryEditor class provides a simple way to create or edit geometries interactively in a map view. It supports a wide array of use cases, from creating quick notes on a map to allowing feature geometry editing workflows. The interactive use of
GeometryEditor is complemented by its support for programmatic creation and editing methods, providing a powerful way to guide and supplement the built-in UX workflows. The appearance of the edited geometry can be customized using the range of symbology available in the API.
GeometryEditor is built from the ground up as the successor to
Sketch in the ArcGIS Runtime SDK for iOS. It introduces a new vertex and edge selection methodology, along with finer-grained control over editing. It is the foundation for additional geometry editing capabilities that will roll out in future releases.
ArcGIS Maps SDKs for Native Apps can now run utility network traces (connected, subnetwork, upstream, and downstream) in a fully disconnected environment. You can create and fine-tune trace configuration options, or leverage named trace configurations to support even more complex traces while offline. The trace result types supported with offline utility networks are elements and functions. Offline tracing requires a mobile geodatabase with full utility network topology. These can be created using ArcGIS Pro as a standalone mobile geodatabase. In the future you will be able to create sync-enabled mobile geodatabases containing utility network topology using the
GeodatabaseSyncTask, or with offline map areas.
In this release, you can use the
Utility to determine which utility network operations are available with your data. For example, a sync-enabled mobile geodatabase created with ArcGIS Enterprise 10.9 containing utility networks supports querying associations but not tracing. However, a standalone mobile geodatabase exported with ArcGIS Pro 2.9 or later that includes a full utility network supports both querying associations and tracing.
Annotation features and labels displayed using ArcGIS Maps SDKs for Native apps can now have their character glyphs rotated in place to appear vertically. This is primarily intended for Asian text (including Chinese, Japanese, Korean, and Vietnamese). It requires that the annotation be published from ArcGIS Pro with the text symbol's block progression property set to right to left, and that the layout of the overall text is closer to vertical than horizontal. See Text symbol properties in the ArcGIS Pro documentation for more information.
In previous releases, indoor positions were interpolated for areas outside of the Indoor Positioning System (IPS) survey. Positions are now only shown for areas that have been surveyed.
- Better compatibility with
Tracker Location Data Source
- More consistent ordering of
- Improvements to positional accuracy and floor level estimation
ArcGIS Maps SDKs for Native Apps now support Arcade 1.20. For more details, see the Arcade 1.20 release notes. Some enhancements include:
Note that the enhancement to the GetUser function to accept zero arguments always returns null, since ArcGIS Maps SDKs for Native Apps do not have the concept of an active portal.
A trailing comma is now consistent with the online Arcade implementation. For example:
- Function definitions
- Function calls
y Fn(10, 11, 12,)
- Array literals
- Dictionary literals
"world", good: "night", }
The checker that determines where function definitions are allowed has been improved. These checks are now consistent with the online implementation and prevent edge cases that could cause confusion around scoping rules. Function definitions within
while statements, inside other function definitions, and codeblocks of
if statements are not allowed.
- All API that was deprecated in 100.x has been removed in this release.
- In Arcade 1.20, the terms
exportare now keywords and are no longer available for use as variable or function names in an Arcade script.
- Arcade expressions now support case insensitive lookup of attribute names for
Graphics (as they already do for
- If a
Labelexpression attempts to use an attribute that does not exist, then no label will be produced (rather than assuming an angle of 0). This behavior is consistent with the
Labelthat produces the text.
There are no API deprecations with this release.
There are no OS or framework deprecations with this release.
- Third Party library
libexpathas been upgraded to v2.5.0
- Third party library
zlibhas been upgraded to v1.2.13
- Magnifier is currently not supported
- Freehand and Shape sketching are currently not supported
- Viewpoint animation is currently not supported
- Double-tap-and-slide-up-down gesture for zooming in/out on 2D maps is currently not supported
- Double-tap-and-drag gesture for look around in 3D scenes is currently not supported
- Augmented Reality functionality in the open-source toolkit is currently not supported
- Migrated 27 samples from the iOS Sample Viewer to showcase commonly seen patterns in the new ArcGIS Maps SDK for Swift
- Completely redesigned sample viewer app using Apple SwiftUI
- Leveraged various new Swift features including
await, async sequences, structured concurrency,
if letshorthand, and more
- Introduced the new authentication challenge handler pattern