Esri / arcgis-maps-sdk-swift-toolkit

Mapping components that will simplify your Swift app development with the ArcGIS Maps SDK for Swift.
https://developers.arcgis.com/swift
Apache License 2.0
25 stars 7 forks source link

Apple Edits fix for geodatabase/table #710

Closed mhdostal closed 2 months ago

mhdostal commented 2 months ago

Added a check for geodatabase.serviceInfo.canUseServiceGeodatabaseApplyEdits to determine if we can use applyEdits() on the geodatabase or if we need to call it on the table.

Moved that code into a do-catch block and set an error if applyEdits() fails.

Updated the Tutorial as well.