Skip to content
Esri Developer
Documentation
Features
Maps and scenes
Portal and content management
Data hosting
Data visualization
Spatial analysis
Place search
Geocoding addresses
Routing and directions
Data enrichment
Elevation
Security and authentication
Offline mapping apps
Find datasets
SDKs and APIs
SDKs and APIs
Products
Explore developer products
Support
Explore help resources
Search
Search
ArcGIS Maps SDK for Swift
Sample Code
Home
Sample Code
API Reference
Toolkit Reference
Analysis
Analyze hotspots
Create buffers around points
Create convex hull around geometries
Create convex hull around points
Create planar and geodetic buffers
Find nearest vertex
Measure distance in scene
Show line of sight between geoelements
Show line of sight between points
Show result of spatial relationships
Show viewshed from geoelement in scene
Show viewshed from point in scene
Show viewshed from point on map
Augmented Reality
Augment reality to collect data
Augment reality to fly over scene
Augment reality to navigate route
Augment reality to show hidden infrastructure
Augment reality to show tabletop scene
Cloud and Portal
Add items to portal
Authenticate with Integrated Windows Authentication
Authenticate with O
Auth
Authenticate with PK
I certificate
Authenticate with token
Create and save map
Search for web map
Show portal user info
Edit and Manage Data
Add features with contingent values
Add tiled layer as basemap
Apply scheduled updates to preplanned map area
Clip geometry
Create KM
L multi-track
Create and save KM
L file
Create geometries
Create mobile geodatabase
Cut geometry
Densify and generalize geometry
Display map from mobile map package
Download preplanned map area
Download vector tiles to local cache
Edit and sync features with feature service
Edit feature attachments
Edit features using feature forms
Edit features with feature-linked annotation
Edit geodatabase with transactions
Edit geometries with programmatic reticle tool
Edit with branch versioning
Generate geodatabase replica from feature service
Generate offline map
Generate offline map with custom parameters
Generate offline map with local basemap
List contents of KM
L file
List spatial reference transformations
Manage features
Project geometry
Project with chosen transformation
List geodatabase versions
Show coordinates in multiple formats
Show geodesic path between two points
Show popup
Show result of spatial operations
Snap geometry edits
Layers
Add KM
L layer
Add KM
L layer with network links
Add WF
S layer
Add WM
S layer
Add WMT
S layer
Add custom dynamic entity data source
Add dynamic entity layer
Add feature collection layer from portal item
Add feature collection layer from query
Add feature collection layer from table
Add feature layer with time offset
Add feature layers
Add integrated mesh layer
Add map image layer
Add point scene layer
Add raster from file
Add raster from service
Add rasters and feature tables from geopackage
Add scene layer from service
Add tiled layer