<?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: Does the AGSTextSymbol support the text template any more? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/does-the-agstextsymbol-support-the-text-template/m-p/47374#M436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lynn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the method still using in 10.2.3. Please check this online documentation:&lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_text_symbol.html#a1aa78be3af92734f3ab809f021957f49" title="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_text_symbol.html#a1aa78be3af92734f3ab809f021957f49"&gt;10.2.3: AGSTextSymbol Class Reference&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Sep 2014 17:51:38 GMT</pubDate>
    <dc:creator>YueWu1</dc:creator>
    <dc:date>2014-09-11T17:51:38Z</dc:date>
    <item>
      <title>Does the AGSTextSymbol support the text template any more?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/does-the-agstextsymbol-support-the-text-template/m-p/47373#M435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 宋体; color: green;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 宋体; color: green;"&gt;&lt;SPAN style="color: #303030;"&gt;Earlier version of SDK can set the text content fromw &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Roboto, sans-serif; font-size: 14.399999618530273px;"&gt;values from the graphic's attributes like below:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;AGSTextSymbol *textSymbol = [AGSTextSymbol textSymbolWithTextTemplate:@"${pointID}" color:[UIColor redColor]];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;How to do this in recent version?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 02:36:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/does-the-agstextsymbol-support-the-text-template/m-p/47373#M435</guid>
      <dc:creator>lynnwang</dc:creator>
      <dc:date>2014-09-10T02:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Does the AGSTextSymbol support the text template any more?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/does-the-agstextsymbol-support-the-text-template/m-p/47374#M436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lynn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the method still using in 10.2.3. Please check this online documentation:&lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_text_symbol.html#a1aa78be3af92734f3ab809f021957f49" title="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_text_symbol.html#a1aa78be3af92734f3ab809f021957f49"&gt;10.2.3: AGSTextSymbol Class Reference&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 17:51:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/does-the-agstextsymbol-support-the-text-template/m-p/47374#M436</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2014-09-11T17:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Does the AGSTextSymbol support the text template any more?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/does-the-agstextsymbol-support-the-text-template/m-p/47375#M437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Yue!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I red a document before. It saids the porperty 'text' will replace the porerty 'text template' after v10.2.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I tried 'text' porperty with the token like &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;${pointID}. But it doesn't work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you test this function before? ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Does it works? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If so , please show me some codes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 02:32:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/does-the-agstextsymbol-support-the-text-template/m-p/47375#M437</guid>
      <dc:creator>lynnwang</dc:creator>
      <dc:date>2014-09-15T02:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Does the AGSTextSymbol support the text template any more?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/does-the-agstextsymbol-support-the-text-template/m-p/47376#M438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lynn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not really sure what is ${pointID}? Is it point to your database field or something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are two snippet code to use this AGSTextSymbol textSymbolWith Text method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14108913518277174 jive_text_macro" jivemacro_uid="_14108913518277174"&gt;
&lt;P&gt;NSString &lt;SPAN style="color: #666666; border-color: #666666;"&gt;*&lt;/SPAN&gt;stopString &lt;SPAN style="color: #666666; border-color: #666666;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #ba2121; border-color: #ba2121;"&gt;@""&lt;/SPAN&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;SPAN style="color: #008000; border-color: #008000;"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt; (stopNumber &lt;SPAN style="color: #666666; border-color: #666666;"&gt;!=&lt;/SPAN&gt; NSNotFound) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; stopString &lt;SPAN style="color: #666666; border-color: #666666;"&gt;=&lt;/SPAN&gt; [NSString stringWithFormat&lt;SPAN style="color: #666666; border-color: #666666;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #ba2121; border-color: #ba2121;"&gt;@"%d"&lt;/SPAN&gt;, stopNumber];&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp; AGSTextSymbol &lt;SPAN style="color: #666666; border-color: #666666;"&gt;*&lt;/SPAN&gt;ts &lt;SPAN style="color: #666666; border-color: #666666;"&gt;=&lt;/SPAN&gt; [AGSTextSymbol textSymbolWithText&lt;SPAN style="color: #666666; border-color: #666666;"&gt;:&lt;/SPAN&gt;stopString color&lt;SPAN style="color: #666666; border-color: #666666;"&gt;:&lt;/SPAN&gt;[UIColor blackColor]];&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&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_14108914958394167" jivemacro_uid="_14108914958394167"&gt;
&lt;P&gt;NSMutableString *word = [NSMutableString stringWithFormat:@"Hello world"];&lt;/P&gt;
&lt;P&gt;AGSTextSymbol *txtSymbol = [AgSTextSymbol textSymbolWithText:word color:[UIColor redColor]];&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 18:18:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/does-the-agstextsymbol-support-the-text-template/m-p/47376#M438</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2014-09-16T18:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Does the AGSTextSymbol support the text template any more?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/does-the-agstextsymbol-support-the-text-template/m-p/47377#M439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Yue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes, the pointID is a field name of a graphic. In the old version of iOS SDK, I can use the property ‘textTemplate’ to set the text symbol text content of a graphic using its attribute field name but not a very string (just like your codes above). That will be very convenient.&amp;nbsp; This function is very similar with the &lt;SPAN style="color: #000000; font-family: Roboto, sans-serif; font-size: 20.799999237060547px; font-weight: bold; background-color: #fbfbfb;"&gt;AGSCalloutTemplate&lt;/SPAN&gt; 's &lt;SPAN style="color: #000000; font-family: monospace; font-size: 14.399999618530273px;"&gt;titleTemplate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 14.399999618530273px;"&gt;&amp;nbsp;&amp;nbsp; I just like to know wether the AGSTextSymbol still supports this kind of template function.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 02:07:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/does-the-agstextsymbol-support-the-text-template/m-p/47377#M439</guid>
      <dc:creator>lynnwang</dc:creator>
      <dc:date>2014-09-19T02:07:55Z</dc:date>
    </item>
  </channel>
</rss>

