objective c samples for version 100.0

1454
8
12-06-2016 08:19 AM
MaximoMobile
New Contributor

I could not find any objective c samples for v100, I would like ESRI to do have some detail documentation about  what has changed from 10.2.5 to v 100 , 

I would like to see objective c samples so i can change my old code.  not a big fan of swift yet .....  

0 Kudos
8 Replies
RyanOlson1
Esri Contributor

Maximo Mobile,

We are going to be releasing some 10.2.5 Objective-C sample code that has been ported to version 100.0.0. A potentially very helpful aspect of this will be that you will be able to easily run a diff between the 10.2.5 sample code and the v100.0.0 sample code as they will both be in a github repository.

Stay tuned - we are working very hard to get this out ASAP.

thanks

0 Kudos
MaximoMobile
New Contributor

Great Rayan 

by the way since i have your attention , i can not install 10.2.5 using coco pods , its giving me an error file not found. any help?? there 

0 Kudos
YueWu1
by Esri Regular Contributor
Esri Regular Contributor

Hi Maximo,

We do have an old blog talks about how to use cocoaPods to install our SDK: Installation for ArcGIS Runtime SDK for iOS with CocoaPods | Support Services Blog

Hope this can help. 

0 Kudos
DiveshGoyal
Esri Regular Contributor

Hi, we have ported the most popular and commonly used 10.2.5 objective-c samples to use the latest version of the SDK. These include -

  • Custom Callout Sample
  • Download Tile Cache Sample
  • Feature Layer Editing Sample
  • Geocoding Sample
  • Graphics Sample
  • Identify Task Sample
  • License By Org Account Sample
  • OAuth Login Sample
  • Offline Feature Editing Sample
  • Offline Geocoding Sample
  • Offline Routing Sample
  • Popup Sample
  • Query Task Sample
  • Routing Sample
  • Sketch Layer Sample
  • Switch Basemap Sample

You can find these samples in the 10.2.5-to-quartz branch

To see the code changes that were needed to port these samples to the latest version of the SDK, you can view this diff which also serves a good reference to help you migrate your own code to the latest SDK. Let us know if there are any other 10.2.5 samples you would like to see ported. We will also be providing more migrating resources in the coming days.

Going forward we only plan to provide new samples in Swift as that is the direction the Apple developer community is heading in and it is just too much overhead to do everything twice - we have very ambitious goals to provide many more new samples, example apps, and other code resources which we won't be able to accomplish unless we prioritize ruthlessly. But the SDK continues support app development in both Swift and Objective-C. Hopefully the Swift samples give you enough information on how to use the API in Objective-C too, and also the Guide documentation will continue to have both Swift and Objective-C snippets to help you get started.

MaximoMobile
New Contributor

Hi Divesh

So ESRI has made decision that you will not have objective C sample or

Code going forward? if thats the case, we have to move all our existing

apps to Swift, it will be costly. We need some more documentation from

ESRI about 10.2.5 to v100 specifically from objective c to swift. I am also

confused as Rayan said objective c samples are coming soon. ???

0 Kudos
MaximoMobile
New Contributor

Hi Divesh

Sorry , My bad , I did not see the link you had about 10.2.5-to-quartz

branch

<https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FEsri%2Farcgis-runtime-samples-ios%2Ftree%2F10.2.5-to-quartz>.

I can see now there are samples that you have converted to objective c.

0 Kudos
MaximoMobile
New Contributor

NSObject+AGSSBJson.h has been removed from v100 ??

how can we use ags_JSONRepresentation ??

On Thu, Dec 8, 2016 at 8:32 AM, sfphotomap puc <sfphotomap2014@gmail.com>

0 Kudos
YueWu1
by Esri Regular Contributor
Esri Regular Contributor
0 Kudos