ArcGIS Runtime SDK for iOS: AGSSimpleLabelExpression Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSSimpleLabelExpression Class Reference

Description

An expression script using the Simple REST language. The label Simple expression expects to hold a legal, Simple script and to be read and evaluated by a Simple expression interpreter. An example expression that combines text with a field value is "State: " CONCAT [State_Name] Note that quotes are needed around the literal text. See https://developers.arcgis.com/documentation/common-data-types/labeling-objects.htm for full documentation on the labelExpression syntax and functions.

Since
100.11
Inheritance diagram for AGSSimpleLabelExpression:
AGSLabelExpression AGSObject

Instance Methods

(instancetype) - init
 
(instancetype) - initWithSimpleExpression:
 

Class Methods

(instancetype) + simpleLabelExpression
 
(instancetype) + simpleLabelExpressionWithSimpleExpression:
 

Properties

NSString * expression
 

Method Documentation

◆ init

- (instancetype) init

Create a label Simple expression with an empty expression script. An empty script is a legal Simple expression that will evaluate to an empty string.

Since
100.11

◆ initWithSimpleExpression:

- (instancetype) initWithSimpleExpression: (NSString *)  simpleExpression

Create a label Simple expression with a specific Simple script. The expression is expected to be a complete, self-contained Simple expression.

Parameters
simpleExpressionThe Simple expression script string.
Since
100.11

◆ simpleLabelExpression

+ (instancetype) simpleLabelExpression

Create a label Simple expression with an empty expression script. An empty script is a legal Simple expression that will evaluate to an empty string.

Since
100.11

◆ simpleLabelExpressionWithSimpleExpression:

+ (instancetype) simpleLabelExpressionWithSimpleExpression: (NSString *)  simpleExpression

Create a label Simple expression with a specific Simple script. The expression is expected to be a complete, self-contained Simple expression.

Parameters
simpleExpressionThe Simple expression script string.
Since
100.11

Property Documentation

◆ expression

- (NSString*) expression
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.

Since
100.11