Hi everyone,I'm trying to pass a AGSFeatureSet with a single point to an AGSGeoprocessor which takes as input a GPFeatureRecordSetLayer parameter:
NSMutableArray *features = [NSMutableArray array];
[features addObject:currentPoint];
AGSFeatureSet *fset = [[AGSFeatureSet alloc] init];
fset.features = features;
NSDictionary *params = [NSDictionary dictionaryWithObjectsAndKeys:
@Input_Facilities,fset,
nil];
but I receive the following error when I fill the Dictionary with the fset variable.
'*** -[AGSFeatureSet copyWithZone:]: unrecognized selector sent to instance 0x4e47270'
which means that the AGSFeatureSet doesn't support the NSCopying protocol.What I missing o mistaking?Thanks in advance for you help.Marco