|
ArcGIS Runtime SDK for iOS
100.15
|
An expression script using the Arcade language. The Arcade label expression property must contain a syntactically correct Arcade script expression. An example expression that combines text with a field value is "State: " + $feature.State_Name Note that quotes are needed around the literal text. See https://developers.arcgis.com/arcade/ for full documentation on the Arcade scripting language and its function library.
AGSFeatureSet functions) are potentially too slow to be used in a dynamic label evaluation.
Instance Methods | |
| (instancetype) | - init |
| (instancetype) | - initWithArcadeExpression: |
| (instancetype) | - initWithArcadeString: |
Class Methods | |
| (instancetype) | + arcadeLabelExpression |
| (instancetype) | + arcadeLabelExpressionWithArcadeExpression: |
| (instancetype) | + arcadeLabelExpressionWithArcadeString: |
Properties | |
| NSString * | expression |
| + (instancetype) arcadeLabelExpression |
Creates a label Arcade expression with an empty expression script. An empty script is a valid Arcade expression that will evaluate to an empty string.
| + (instancetype) arcadeLabelExpressionWithArcadeExpression: | (AGSArcadeExpression *) | arcadeExpression |
Creates a label Arcade expression object using the AGSArcadeExpression::expression property.
| arcadeExpression | An AGSArcadeExpression object containing the Arcade expression script to use. |
| + (instancetype) arcadeLabelExpressionWithArcadeString: | (NSString *) | arcadeString |
Creates a label Arcade expression object with a specified Arcade expression script string.
| arcadeString | The Arcade expression script string. |
| - (instancetype) init |
Creates a label Arcade expression with an empty expression script. An empty script is a valid Arcade expression that will evaluate to an empty string.
| - (instancetype) initWithArcadeExpression: | (AGSArcadeExpression *) | arcadeExpression |
Creates a label Arcade expression object using the AGSArcadeExpression::expression property.
| arcadeExpression | An AGSArcadeExpression object containing the Arcade expression script to use. |
| - (instancetype) initWithArcadeString: | (NSString *) | arcadeString |
Creates a label Arcade expression object with a specified Arcade expression script string.
| arcadeString | The Arcade expression script string. |
|
readwritenonatomiccopyinherited |
The label expression script string. The expression is expected to be a complete, self-contained label expression in the language specified by the label expression subclass object.