19 #import <ArcGIS/AGSLoadableBase.h> 20 #import <ArcGIS/AGSJSONSerializable.h> 21 #import <ArcGIS/AGSImage.h> 44 #pragma mark initializers 51 -(instancetype)initWithItem:(
AGSItem*)item;
71 +(instancetype)featureCollectionWithItem:(
AGSItem*)item;
78 +(instancetype)featureCollectionWithFeatureCollectionTables:(NSArray<
AGSFeatureCollectionTable*>*)featureCollectionTables;
81 #pragma mark properties 86 @property (nullable, nonatomic, strong, readwrite)
AGSItem *item;
91 @property (nonatomic, strong, readonly) NSMutableArray<AGSFeatureCollectionTable*> *
tables;
96 #pragma mark - Save/SaveAs 116 tags:(NSArray<NSString*> *)tags
118 itemDescription:(NSString*)itemDescription
119 thumbnail:(nullable AGSImage *)thumbnail
120 completion:(nullable
void(^)(NSError* __nullable error))completion;
132 -(id<
AGSCancelable>)saveWithCompletion:(nullable
void(^)(NSError* __nullable error))completion;
A base class for loadables.
Definition: AGSLoadableBase.h:37
NSMutableArray< AGSFeatureCollectionTable * > * tables
Definition: AGSFeatureCollection.h:91
An individual table that contains features belonging to a feature collection.
Definition: AGSFeatureCollectionTable.h:39
instancetype featureCollection()
A protocol to convert objects to and from JSON.
Definition: AGSJSONSerializable.h:32
Object representing a unit of content.
Definition: AGSItem.h:36
Represents a folder of content within the Portal or Organization.
Definition: AGSPortalFolder.h:31
A lightweight collection of features.
Definition: AGSFeatureCollection.h:39
An Object representing a Portal for ArcGIS.
Definition: AGSPortal.h:98
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:32