<?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: AGSFindTaskDelegate Callback possible to stop in middle. in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725559#M6502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; did testing, only for some scenarios it is not possible to narrow down result, depend of address we get results, and we do have 1Min, AlterView so users is freeze to use any other functionality while receiving call back,&amp;nbsp; but after that if user comes out from controller,&amp;nbsp; break point does hit on above callback. and if i click on GIS (same controller open)again then it crash... so i was checking out if like in Location Search Stop Location Search functionality is available, which stop further callback, do we have here in any way...&lt;/P&gt;&lt;P&gt;however will try to reduce search if possible.. Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2015 06:32:21 GMT</pubDate>
    <dc:creator>GajaNaik</dc:creator>
    <dc:date>2015-05-21T06:32:21Z</dc:date>
    <item>
      <title>AGSFindTaskDelegate Callback possible to stop in middle.</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725551#M6494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo; color: #78492a;"&gt;#pragma mark - AGSFindTaskDelegate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo;"&gt;-(&lt;SPAN style="color: #bb2ca2;"&gt;void&lt;/SPAN&gt;)findTask:(&lt;SPAN style="color: #703daa;"&gt;AGSFindTask&lt;/SPAN&gt; *)findTask operation:(&lt;SPAN style="color: #703daa;"&gt;NSOperation&lt;/SPAN&gt; *)op didExecuteWithFindResults:(&lt;SPAN style="color: #703daa;"&gt;NSArray&lt;/SPAN&gt; *)results&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo;"&gt;is it possible to stop above callback to received data?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo;"&gt;if data is very big above delegate called for longer time as long as all data is received, but if user click on back of view or comes out from view ..... app crash on click on GIS VIEW again.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo;"&gt;is it possible to stop callback response like after 60 Sec or if user comes out from VIEW ?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo;"&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 13:25:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725551#M6494</guid>
      <dc:creator>GajaNaik</dc:creator>
      <dc:date>2015-05-08T13:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: AGSFindTaskDelegate Callback possible to stop in middle.</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725552#M6495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QueryTask returns a NSOperation, which you can cancel by calling cancel() method.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.apple.com/library/ios/documentation/Cocoa/Reference/NSOperation_class/index.html#//apple_ref/occ/instm/NSOperation/cancel" title="https://developer.apple.com/library/ios/documentation/Cocoa/Reference/NSOperation_class/index.html#//apple_ref/occ/instm/NSOperation/cancel"&gt;NSOperation Class Reference&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QueryTask has property named timeoutInterval which by default is set to 60 seconds.&lt;/P&gt;&lt;P&gt;So it should time out if it takes longer than that. But you could make that time shorter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this solves your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 15:47:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725552#M6495</guid>
      <dc:creator>DavidLednik</dc:creator>
      <dc:date>2015-05-08T15:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: AGSFindTaskDelegate Callback possible to stop in middle.</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725553#M6496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you invoke the FindTask using &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_find_task.html#ac8ff1a63c00df901df9263fc5b6cafe6" title="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_find_task.html#ac8ff1a63c00df901df9263fc5b6cafe6"&gt;executeWithParameters:&lt;/A&gt;​ , you get back a reference to the NSOperation representing the async operation. You can call &lt;A href="https://developer.apple.com/library/ios/documentation/Cocoa/Reference/NSOperation_class/index.html#//apple_ref/occ/instm/NSOperation/cancel" title="https://developer.apple.com/library/ios/documentation/Cocoa/Reference/NSOperation_class/index.html#//apple_ref/occ/instm/NSOperation/cancel"&gt;cancel&lt;/A&gt;​ on the operation to stop it from processing or waiting for the response.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 18:08:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725553#M6496</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2015-05-08T18:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: AGSFindTaskDelegate Callback possible to stop in middle.</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725554#M6497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[op &lt;/SPAN&gt;cancel&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;have added inside callback but still its been called..... &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 18:41:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725554#M6497</guid>
      <dc:creator>GajaNaik</dc:creator>
      <dc:date>2015-05-08T18:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: AGSFindTaskDelegate Callback possible to stop in middle.</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725555#M6498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Inside the callback won't have any affect because by that time the operation is already done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 18:57:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725555#M6498</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2015-05-08T18:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: AGSFindTaskDelegate Callback possible to stop in middle.</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725556#M6499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@property&lt;SPAN style="color: #000000;"&gt; (&lt;/SPAN&gt;nonatomic&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;strong&lt;SPAN style="color: #000000;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;NSOperation&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; *m_FindOP;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;self.m_FindOP&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;m_findTask&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;executeWithParameters&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;m_findParams&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo;"&gt;- (&lt;SPAN style="color: #bb2ca2;"&gt;void&lt;/SPAN&gt;) btnBack&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo;"&gt;{&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo; color: #4f8187;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;SPAN style="color: #000000;"&gt;self.m_FindOP&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;cancel&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo; color: #4f8187;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;self.m_FindOP&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;nil&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo; color: #4f8187;"&gt;}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo; color: #4f8187;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: Menlo; color: #4f8187;"&gt;with above lines of code added, still callback get response... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 19:23:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725556#M6499</guid>
      <dc:creator>GajaNaik</dc:creator>
      <dc:date>2015-05-08T19:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: AGSFindTaskDelegate Callback possible to stop in middle.</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725557#M6500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any further suggestion.....? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 18:15:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725557#M6500</guid>
      <dc:creator>GajaNaik</dc:creator>
      <dc:date>2015-05-18T18:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: AGSFindTaskDelegate Callback possible to stop in middle.</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725558#M6501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might not related to the "break the call back" code suggestion,&lt;/P&gt;&lt;P&gt;But from an iOS application, it is better to narrow down the find/query result to a more precious and accurate value, which means a less value return that match with the find/query category. If a find result takes more than 60 mins I would suggest to redefine the data attribute or search category. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 23:54:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725558#M6501</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2015-05-20T23:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: AGSFindTaskDelegate Callback possible to stop in middle.</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725559#M6502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; did testing, only for some scenarios it is not possible to narrow down result, depend of address we get results, and we do have 1Min, AlterView so users is freeze to use any other functionality while receiving call back,&amp;nbsp; but after that if user comes out from controller,&amp;nbsp; break point does hit on above callback. and if i click on GIS (same controller open)again then it crash... so i was checking out if like in Location Search Stop Location Search functionality is available, which stop further callback, do we have here in any way...&lt;/P&gt;&lt;P&gt;however will try to reduce search if possible.. Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 06:32:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsfindtaskdelegate-callback-possible-to-stop-in/m-p/725559#M6502</guid>
      <dc:creator>GajaNaik</dc:creator>
      <dc:date>2015-05-21T06:32:21Z</dc:date>
    </item>
  </channel>
</rss>

