ArcGIS Runtime SDK for iOS: AGSUniqueValueRenderer.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSUniqueValueRenderer.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/AGSRenderer.h>
20 
21 @class AGSSymbol;
22 @class AGSUniqueValue;
23  //Required for Globals API doc
25 
44 
45 
46 #pragma mark -
47 #pragma mark initializers
48 
53 +(instancetype)uniqueValueRenderer;
54 
63 -(instancetype)initWithFieldNames:(nullable NSArray<NSString*> *)fieldNames
64  uniqueValues:(nullable NSArray<AGSUniqueValue*> *)uniqueValues
65  defaultLabel:(NSString*)defaultLabel
66  defaultSymbol:(nullable AGSSymbol*)defaultSymbol;
67 
76 +(instancetype)uniqueValueRendererWithFieldNames:(nullable NSArray<NSString*> *)fieldNames
77  uniqueValues:(nullable NSArray<AGSUniqueValue*> *)uniqueValues
78  defaultLabel:(NSString*)defaultLabel
79  defaultSymbol:(nullable AGSSymbol*)defaultSymbol;
80 
81 #pragma mark -
82 #pragma mark properties
83 
87 @property (nonatomic, copy, readwrite) NSString *defaultLabel;
88 
92 @property (nullable, nonatomic, strong, readwrite) AGSSymbol *defaultSymbol;
93 
98 @property (nonatomic, copy, readwrite) NSArray<NSString*> *fieldNames;
99 
103 @property (nonatomic, copy, readwrite) NSArray<AGSUniqueValue*> *uniqueValues;
104 
105 #pragma mark -
106 #pragma mark methods
107 
108 
109 @end
NSArray< NSString * > * fieldNames
Definition: AGSUniqueValueRenderer.h:98
An abstract base class for renderers.
Definition: AGSRenderer.h:48
A symbol used to display a graphic or a feature.
Definition: AGSSymbol.h:51
instancetype uniqueValueRenderer()
Each unique value that is symbolized differently by a unique value renderer.
Definition: AGSUniqueValue.h:35
A renderer based on unique values.
Definition: AGSUniqueValueRenderer.h:43
NSString * defaultLabel
Definition: AGSUniqueValueRenderer.h:87