<?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: Problem with FeatureLayer in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-featurelayer/m-p/535690#M4618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the answer:)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You must init with this method:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- (id)initWithURL:(NSURL*)url mode:(AGSFeatureLayerMode)mode error:(NSError**)error;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/** Initialize this layer, in a synchronous fashion, with a URL of an ArcGIS Server Map or Feature &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Service layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; @param url URL to a map or feature service layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; @param mode The mode in which to retrieve features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; @param cred &amp;lt;code&amp;gt;AGSCredential&amp;lt;/code&amp;gt; used to access secure resource.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; @param error Information about the error returned if init fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; @return A new feature layer object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; @since 1.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; */&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Dec 2011 06:31:31 GMT</pubDate>
    <dc:creator>CsabaHuszár</dc:creator>
    <dc:date>2011-12-02T06:31:31Z</dc:date>
    <item>
      <title>Problem with FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-featurelayer/m-p/535689#M4617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have problem with FeatureLayer.(same as here: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/30577-NO-types-or-templates-for-editable-FeatureLayer"&gt;http://forums.arcgis.com/threads/30577-NO-types-or-templates-for-editable-FeatureLayer&lt;/A&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I implemented this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; NSURL* url = [NSURL URLWithString:@"...FeatureServer/0"];&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSFeatureLayer* featureLayer = [[AGSFeatureLayer alloc]initWithURL:url mode:AGSFeatureLayerModeSnapshot];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NSMutableArray *grap=[[NSMutableArray alloc]init];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; grap=featureLayer.graphics;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSLog(@"%d",grap.count);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And grap.count is 0. What is the problem?&amp;nbsp; Mess up anything? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the answer!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 21:37:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-featurelayer/m-p/535689#M4617</guid>
      <dc:creator>CsabaHuszár</dc:creator>
      <dc:date>2011-12-01T21:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-featurelayer/m-p/535690#M4618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the answer:)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You must init with this method:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- (id)initWithURL:(NSURL*)url mode:(AGSFeatureLayerMode)mode error:(NSError**)error;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/** Initialize this layer, in a synchronous fashion, with a URL of an ArcGIS Server Map or Feature &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Service layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; @param url URL to a map or feature service layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; @param mode The mode in which to retrieve features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; @param cred &amp;lt;code&amp;gt;AGSCredential&amp;lt;/code&amp;gt; used to access secure resource.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; @param error Information about the error returned if init fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; @return A new feature layer object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; @since 1.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; */&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 06:31:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-featurelayer/m-p/535690#M4618</guid>
      <dc:creator>CsabaHuszár</dc:creator>
      <dc:date>2011-12-02T06:31:31Z</dc:date>
    </item>
  </channel>
</rss>

