ArcGIS Runtime SDK for iOS: AGSUniqueValue.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSUniqueValue.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 1995-2020 ESRI
3 
4  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
5  Unpublished material - all rights reserved under the
6  Copyright Laws of the United States and applicable international
7  laws, treaties, and conventions.
8 
9  For additional information, contact:
10  Environmental Systems Research Institute, Inc.
11  Attn: Contracts and Legal Services Department
12  380 New York Street
13  Redlands, California, 92373
14  USA
15 
16  email: contracts@esri.com
17  */
18 
19 #import <ArcGIS/AGSObject.h>
20 #import <ArcGIS/AGSJSONSerializable.h>
21 
22 @class AGSSymbol;
23  //Required for Globals API doc
25 
35 @interface AGSUniqueValue : AGSObject <AGSJSONSerializable, NSCopying>
36 
37 
38 #pragma mark -
39 #pragma mark initializers
40 
45 +(instancetype)uniqueValue;
46 
55 -(instancetype)initWithDescription:(NSString *)description
56  label:(NSString *)label
57  symbol:(AGSSymbol *)symbol
58  values:(NSArray<id> *)values;
59 
68 +(instancetype)uniqueValueWithDescription:(NSString *)description
69  label:(NSString *)label
70  symbol:(AGSSymbol *)symbol
71  values:(NSArray<id> *)values;
72 
73 #pragma mark -
74 #pragma mark properties
75 
79 @property (nonatomic, copy, readwrite) NSString *label;
80 
84 @property (nonatomic, copy, readwrite) NSString *valueDescription;
85 
89 @property (nullable, nonatomic, strong, readwrite) AGSSymbol *symbol;
90 
94 @property (nonatomic, copy, readwrite) NSArray<id> *values;
95 
96 #pragma mark -
97 #pragma mark methods
98 
104 -(BOOL)isEqualToUniqueValue:(AGSUniqueValue*)other;
105 
106 
107 @end
NSString * valueDescription
Definition: AGSUniqueValue.h:84
A symbol used to display a graphic or a feature.
Definition: AGSSymbol.h:51
NSString * label
Definition: AGSUniqueValue.h:79
Each unique value that is symbolized differently by a unique value renderer.
Definition: AGSUniqueValue.h:35
Definition: AGSObject.h:21
A protocol to convert objects to and from JSON.
Definition: AGSJSONSerializable.h:32
NSArray< id > * values
Definition: AGSUniqueValue.h:94
instancetype uniqueValue()