<?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: Adding custom functions to Feature Edit Popup in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-custom-functions-to-feature-edit-popup/m-p/684840#M6088</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nobody?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, I done it myself. Here's my solution if anyone is interested:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- I subclassed the AGSPopupsViewViewController&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Added a custom edit Button&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Implemented my own UIActionsheet that shows when the edit Button is tapped&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Added my custom function as button to the ActionSheet&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Added the default actions (Edit, Delete, Cancel) to the ActionSheet&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Done&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2012 05:08:38 GMT</pubDate>
    <dc:creator>EikeLüders</dc:creator>
    <dc:date>2012-08-14T05:08:38Z</dc:date>
    <item>
      <title>Adding custom functions to Feature Edit Popup</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-custom-functions-to-feature-edit-popup/m-p/684839#M6087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;currently I develop using the iOS SDK for ArcGIS. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I want to add a some custom actions to my PopupInfo when I edit a Feature. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;E.g.: I have a Point Feature with some attributes. One attribute should represent the size of a polygon (as double).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The user should have the ability to insert the size manually (no problem here) and should have the ability to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;draw a polygon on the map to get the size calculated automatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, the question is: How can I add a custom button for an attribute in the PopupInfo of a feature to add my custom action, or is this even possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 05:46:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-custom-functions-to-feature-edit-popup/m-p/684839#M6087</guid>
      <dc:creator>EikeLüders</dc:creator>
      <dc:date>2012-08-13T05:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom functions to Feature Edit Popup</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-custom-functions-to-feature-edit-popup/m-p/684840#M6088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nobody?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, I done it myself. Here's my solution if anyone is interested:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- I subclassed the AGSPopupsViewViewController&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Added a custom edit Button&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Implemented my own UIActionsheet that shows when the edit Button is tapped&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Added my custom function as button to the ActionSheet&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Added the default actions (Edit, Delete, Cancel) to the ActionSheet&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Done&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 05:08:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-custom-functions-to-feature-edit-popup/m-p/684840#M6088</guid>
      <dc:creator>EikeLüders</dc:creator>
      <dc:date>2012-08-14T05:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom functions to Feature Edit Popup</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-custom-functions-to-feature-edit-popup/m-p/684841#M6089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You don't need to subclass. You should set your own button/action to the AGSPopupsContainerViewController's &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/runtime-ios-sdk/apiref/interface_a_g_s_popups_container_view_controller.html#a312d956aa37146052618d12e54a5a436"&gt;actionButton&lt;/A&gt;&lt;SPAN&gt;. Please see &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/runtime-ios-sdk/concepts/00pw/00pw0000005n000000.htm"&gt;custom action&lt;/A&gt;&lt;SPAN&gt; documentation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 16:22:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-custom-functions-to-feature-edit-popup/m-p/684841#M6089</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-08-14T16:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom functions to Feature Edit Popup</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-custom-functions-to-feature-edit-popup/m-p/684842#M6090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you're right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But then I have to implement the ActionSheet delegate methods in my other ViewController though it belongs to the PopupViewController (if I want to display an ActionSheet when I tap the Edit button).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it's more clear when the delegate methods are found in the class they actually belong to, but that's may be a matter of personal coding style.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 05:39:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-custom-functions-to-feature-edit-popup/m-p/684842#M6090</guid>
      <dc:creator>EikeLüders</dc:creator>
      <dc:date>2012-08-15T05:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom functions to Feature Edit Popup</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-custom-functions-to-feature-edit-popup/m-p/684843#M6091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Can you please share how you have subclassed the &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;AGSPopupsViewViewController, I m trying to achieve same thing, but no success yet &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 08:19:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-custom-functions-to-feature-edit-popup/m-p/684843#M6091</guid>
      <dc:creator>ozcandurak</dc:creator>
      <dc:date>2016-05-27T08:19:56Z</dc:date>
    </item>
  </channel>
</rss>

