Tutorial for reading shapefiles in IOS App written in Swift

5179
3
04-20-2015 10:05 PM
AssetSarsengaliyev
New Contributor

I am new in ArcGIS and I don't know Obj-C. I am familiar with Swift, may be someone has a tutorial or example of a simple application to read a shapefile?

0 Kudos
3 Replies
MichaelDavis3
Occasional Contributor III

The iOS version of the runtime SDK doesn't support shapefiles at this time.  This is supposed to be supported in the next version.

0 Kudos
AssetSarsengaliyev
New Contributor

Thanks, Michael! Is there any way to read them? May be converting them to another format or adding all files into one gdb file?

0 Kudos
MichaelDavis3
Occasional Contributor III

You can add them to a file geodatabase and then export them to a runtime geodatabase in ArcGIS using the "Create Runtime Content" tool.  This will create a read-only database and you can load the feature layers up in the mapView of your app.