Minor API issue for AGSTextSymbol

2433
5
05-22-2011 02:40 AM
DominicLuechinger
New Contributor
I've found a minor issue in the implementation of AGSTextSymbol. Normally, all autorelease (inherit from AGSSymbol) member functions are declared as static.
In AGSTextSymbol, this static function is missing. I guess, to following function has to be declared as static.
- (AGSTextSymbol *) textSymbolWithTextTemplate:   (NSString*)   textTemplate
color:   (UIColor*)   color


It would be nice, if someone from the dev team could fix this inconsistency. Thx.
0 Kudos
5 Replies
DiveshGoyal
Esri Regular Contributor
You're absolutely right. Thanks for reporting this.
0 Kudos
DominicLuechinger
New Contributor
Thanks for reviewing this. Hope nobody will be (git-)blamed. 😉
0 Kudos
SandeepKuniel
New Contributor II
Hi Divesh,
May i know if this issue has been resolved in ver2.0?
0 Kudos
DominicLuechinger
New Contributor
According to the documentation of 2.0 (http://help.arcgis.com/en/arcgismobile/10.0/apis/iOS/2.0/reference/interface_a_g_s_text_symbol.html#...), the issue has been fixed.
0 Kudos
NimeshJarecha
Esri Regular Contributor
Yes, this is fixed in v2.0 API.

Regards,
Nimesh
0 Kudos