<?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 customViewForGraphic invalid AGSGraphic object parameter in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/customviewforgraphic-invalid-agsgraphic-object/m-p/480603#M4098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've discovered a strange inconsistency with customViewForGraphic in which every so often (about every six or seven calls,) the AGSGraphic parameter's attributes get whacked and using objectForKey: causes a crash with the following description:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*** -[CFString copyWithZone:]: message sent to deallocated instance 0xeda0de0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It always seems to happen when trying to access the one particular key only; i.e. accessing other attributes is successful.&amp;nbsp; The attributes of all the graphics in this layer are never changed.&amp;nbsp;&amp;nbsp; The mapView:(AGSMapView *)mapView &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;didClickAtPoint:(CGPoint)screen method that is called immediately before the customViewForGraphic method gets passed a graphic object that contains the key of the attribute I am accessing, and produces no error when calling objectForKey:.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks -&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2012 23:11:41 GMT</pubDate>
    <dc:creator>FredSpataro</dc:creator>
    <dc:date>2012-06-12T23:11:41Z</dc:date>
    <item>
      <title>customViewForGraphic invalid AGSGraphic object parameter</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/customviewforgraphic-invalid-agsgraphic-object/m-p/480603#M4098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've discovered a strange inconsistency with customViewForGraphic in which every so often (about every six or seven calls,) the AGSGraphic parameter's attributes get whacked and using objectForKey: causes a crash with the following description:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*** -[CFString copyWithZone:]: message sent to deallocated instance 0xeda0de0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It always seems to happen when trying to access the one particular key only; i.e. accessing other attributes is successful.&amp;nbsp; The attributes of all the graphics in this layer are never changed.&amp;nbsp;&amp;nbsp; The mapView:(AGSMapView *)mapView &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;didClickAtPoint:(CGPoint)screen method that is called immediately before the customViewForGraphic method gets passed a graphic object that contains the key of the attribute I am accessing, and produces no error when calling objectForKey:.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks -&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 23:11:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/customviewforgraphic-invalid-agsgraphic-object/m-p/480603#M4098</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2012-06-12T23:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: customViewForGraphic invalid AGSGraphic object parameter</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/customviewforgraphic-invalid-agsgraphic-object/m-p/480604#M4099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The property may be being released before it's used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it defined as &lt;/SPAN&gt;&lt;STRONG&gt;strong&lt;/STRONG&gt;&lt;SPAN&gt;? (retain in the old pre-ARC way)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 15:56:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/customviewforgraphic-invalid-agsgraphic-object/m-p/480604#M4099</guid>
      <dc:creator>RickJones</dc:creator>
      <dc:date>2012-06-14T15:56:15Z</dc:date>
    </item>
  </channel>
</rss>

