<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Switching from AGSFeatureLayer to AGSFeatureTable in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/switching-from-agsfeaturelayer-to-agsfeaturetable/m-p/631476#M5610</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I'm trying to add features to feature layer. But unable add it. Below is my code. Can you help me to do this please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in viewDidLoad&lt;/P&gt;&lt;P style="font-family: Menlo; color: #4f8187;"&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;featureLayer1&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;queryDelegate&lt;SPAN style="color: #000000;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #4f8187;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;queryTask&lt;SPAN style="color: #000000;"&gt; = [[&lt;/SPAN&gt;AGSQueryTask&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;alloc&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;] &lt;/SPAN&gt;&lt;SPAN style="color: #31595d;"&gt;initWithURL&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;featureLayer1&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;URL&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #4f8187;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;queryTask&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;delegate&lt;SPAN style="color: #000000;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: Menlo; color: #4f8187;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;query&lt;SPAN style="color: #000000;"&gt; = [&lt;/SPAN&gt;AGSQuery&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #31595d;"&gt;query&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #31595d;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #4f8187;"&gt;User&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; *user = [&lt;/SPAN&gt;&lt;SPAN style="color: #4f8187;"&gt;ModelFacade&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;currentUserInContext&lt;SPAN style="color: #000000;"&gt;:[&lt;/SPAN&gt;&lt;SPAN style="color: #4f8187;"&gt;ModelFacade&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;currentContext&lt;SPAN style="color: #000000;"&gt;]];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #4f8187;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;query&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;whereClause&lt;SPAN style="color: #000000;"&gt; = [&lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;NSString&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;stringWithFormat&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d12f1b;"&gt;@"UserID='{%@}'"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, user.&lt;/SPAN&gt;userID&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #008400;"&gt;&lt;SPAN style="color: #3d3d3d; line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; line-height: 1.5;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #4f8187;"&gt;query&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; line-height: 1.5;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #4f8187;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; line-height: 1.5;"&gt; = envelope;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #008400;"&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #4f8187;"&gt;queryTask&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #31595d; line-height: 1.5;"&gt;executeWithQuery&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #4f8187;"&gt;query&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;] ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #008400;"&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #008400;"&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;#delegate method.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;- (&lt;SPAN style="color: #bb2ca2;"&gt;void&lt;/SPAN&gt;)queryTask:(AGSQueryTask *)queryTask operation:(NSOperation*)op didExecuteWithFeatureSetResult:(AGSFeatureSet *)featureSet&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;{&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSInteger index;&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #bb2ca2;"&gt;for&lt;/SPAN&gt; (index = &lt;SPAN style="color: #272ad8;"&gt;0&lt;/SPAN&gt;; index &amp;lt;featureSet.features.count; index++)&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSSimpleFillSymbol * fillSym = [AGSSimpleFillSymbol simpleFillSymbol];&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fillSym.style = AGSSimpleFillSymbolStyleSolid;&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fillSym.color = [UIColor blackColor];&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSGraphic * graphic = [featureSet.features objectAtIndex: index];&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphic.symbol = fillSym;&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;.featureLayer1 addFeatures:&lt;SPAN style="color: #272ad8;"&gt;@[&lt;/SPAN&gt;graphic&lt;SPAN style="color: #272ad8;"&gt;]&lt;/SPAN&gt;];&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;.featureLayer1 refresh];&lt;/P&gt;&lt;P style="font-family: Menlo; color: #d12f1b;"&gt;&lt;SPAN style="color: #3d3d3d; line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSLog(featureSet.features);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Menlo;"&gt;&lt;SPAN style="line-height: 1.5;"&gt;Able to get all records in log but not on map &lt;/SPAN&gt;view.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Menlo;"&gt;Can you please help me with this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&lt;SPAN style="line-height: 1.5;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Feb 2015 10:01:53 GMT</pubDate>
    <dc:creator>HrishikeshPol</dc:creator>
    <dc:date>2015-02-02T10:01:53Z</dc:date>
    <item>
      <title>Switching from AGSFeatureLayer to AGSFeatureTable</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/switching-from-agsfeaturelayer-to-agsfeaturetable/m-p/631474#M5608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I've been using AGSFeatureLayer along with AGSGraphic to add/edit/delete features from layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14205690720397891" jivemacro_uid="_14205690720397891" modifiedtitle="true"&gt;&lt;P&gt;for(AGSGraphic *graphic in self.featureLayer)...&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has worked great, letting me cycle through the feature layer and find graphics I need/want to change.&lt;/P&gt;&lt;P&gt;Now that I have been working on getting the app to run offline, I found that I need to create a geodatabase with feature tables.&lt;/P&gt;&lt;P&gt;I created a geodatabase, a tpk file, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When offline, I can load the layers from the geodatabase, they come in as AGSFeatureTables in geodatabase.featureTables.&lt;/P&gt;&lt;P&gt;Then I use AGSFeatureTableLayer to add them to the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem comes from AGSFeatureLayer has a graphics layer, while AGSFeatureTableLayer doesnt.&amp;nbsp; &lt;/P&gt;&lt;P&gt;When I need to get a feature, am I suppose to use the queryWithResults function on AGSFeatureTable everytime?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any advice/help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 18:35:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/switching-from-agsfeaturelayer-to-agsfeaturetable/m-p/631474#M5608</guid>
      <dc:creator>KyleDunaway</dc:creator>
      <dc:date>2015-01-06T18:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Switching from AGSFeatureLayer to AGSFeatureTable</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/switching-from-agsfeaturelayer-to-agsfeaturetable/m-p/631475#M5609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So Im using queryResultsWithParameters to get the features from the layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works, and I can access the features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 21:25:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/switching-from-agsfeaturelayer-to-agsfeaturetable/m-p/631475#M5609</guid>
      <dc:creator>KyleDunaway</dc:creator>
      <dc:date>2015-01-06T21:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Switching from AGSFeatureLayer to AGSFeatureTable</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/switching-from-agsfeaturelayer-to-agsfeaturetable/m-p/631476#M5610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I'm trying to add features to feature layer. But unable add it. Below is my code. Can you help me to do this please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in viewDidLoad&lt;/P&gt;&lt;P style="font-family: Menlo; color: #4f8187;"&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;featureLayer1&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;queryDelegate&lt;SPAN style="color: #000000;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #4f8187;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;queryTask&lt;SPAN style="color: #000000;"&gt; = [[&lt;/SPAN&gt;AGSQueryTask&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;alloc&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;] &lt;/SPAN&gt;&lt;SPAN style="color: #31595d;"&gt;initWithURL&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;featureLayer1&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;URL&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #4f8187;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;queryTask&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;delegate&lt;SPAN style="color: #000000;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: Menlo; color: #4f8187;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;query&lt;SPAN style="color: #000000;"&gt; = [&lt;/SPAN&gt;AGSQuery&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #31595d;"&gt;query&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #31595d;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #4f8187;"&gt;User&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; *user = [&lt;/SPAN&gt;&lt;SPAN style="color: #4f8187;"&gt;ModelFacade&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;currentUserInContext&lt;SPAN style="color: #000000;"&gt;:[&lt;/SPAN&gt;&lt;SPAN style="color: #4f8187;"&gt;ModelFacade&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;currentContext&lt;SPAN style="color: #000000;"&gt;]];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #4f8187;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;query&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;whereClause&lt;SPAN style="color: #000000;"&gt; = [&lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;NSString&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;stringWithFormat&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d12f1b;"&gt;@"UserID='{%@}'"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, user.&lt;/SPAN&gt;userID&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #008400;"&gt;&lt;SPAN style="color: #3d3d3d; line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; line-height: 1.5;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #4f8187;"&gt;query&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; line-height: 1.5;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #4f8187;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; line-height: 1.5;"&gt; = envelope;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #008400;"&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #4f8187;"&gt;queryTask&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #31595d; line-height: 1.5;"&gt;executeWithQuery&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #4f8187;"&gt;query&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;] ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #008400;"&gt;&lt;/P&gt;&lt;P style="font-family: Menlo; color: #008400;"&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;#delegate method.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;- (&lt;SPAN style="color: #bb2ca2;"&gt;void&lt;/SPAN&gt;)queryTask:(AGSQueryTask *)queryTask operation:(NSOperation*)op didExecuteWithFeatureSetResult:(AGSFeatureSet *)featureSet&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;{&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSInteger index;&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #bb2ca2;"&gt;for&lt;/SPAN&gt; (index = &lt;SPAN style="color: #272ad8;"&gt;0&lt;/SPAN&gt;; index &amp;lt;featureSet.features.count; index++)&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSSimpleFillSymbol * fillSym = [AGSSimpleFillSymbol simpleFillSymbol];&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fillSym.style = AGSSimpleFillSymbolStyleSolid;&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fillSym.color = [UIColor blackColor];&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSGraphic * graphic = [featureSet.features objectAtIndex: index];&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphic.symbol = fillSym;&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;.featureLayer1 addFeatures:&lt;SPAN style="color: #272ad8;"&gt;@[&lt;/SPAN&gt;graphic&lt;SPAN style="color: #272ad8;"&gt;]&lt;/SPAN&gt;];&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;.featureLayer1 refresh];&lt;/P&gt;&lt;P style="font-family: Menlo; color: #d12f1b;"&gt;&lt;SPAN style="color: #3d3d3d; line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSLog(featureSet.features);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Menlo;"&gt;&lt;SPAN style="line-height: 1.5;"&gt;Able to get all records in log but not on map &lt;/SPAN&gt;view.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Menlo;"&gt;Can you please help me with this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Menlo;"&gt;&lt;SPAN style="line-height: 1.5;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 10:01:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/switching-from-agsfeaturelayer-to-agsfeaturetable/m-p/631476#M5610</guid>
      <dc:creator>HrishikeshPol</dc:creator>
      <dc:date>2015-02-02T10:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Switching from AGSFeatureLayer to AGSFeatureTable</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/switching-from-agsfeaturelayer-to-agsfeaturetable/m-p/631477#M5611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you make sure that the result features geometry is in the same spatial reference as the map's spatial reference? You'll need to set &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_query.html#a316b518db6b8a8562632fab78c9a791a"&gt;AGSQuery outSpatialReference&lt;/A&gt; property&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 17:24:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/switching-from-agsfeaturelayer-to-agsfeaturetable/m-p/631477#M5611</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2015-02-11T17:24:05Z</dc:date>
    </item>
  </channel>
</rss>

