Solved! Go to Solution.
I did have a comment: shouldn't we update the cancelRequestForKey: function to use the local requestQueue object and not the sharedOperationQueue? Seems like we may be putting operations into one queue and canceling them from another.
Good morning,
Can someone please take a look at this and get back to me ASAP? I've been delaying delivering an application based what appeared to be new functionality in 10.1.1 and not I'm stuck between a rock and a hard place.
Thanks,
Jon
I did have a comment: shouldn't we update the cancelRequestForKey: function to use the local requestQueue object and not the sharedOperationQueue? Seems like we may be putting operations into one queue and canceling them from another.
NSOperation *nsOp = [featureLayer addFeatures:graphics]
@implementation AGSRequestOperation (Operation) + (NSOperationQueue *)sharedOperationQueue { return [Utils getQueue]; } @end
// Declaration in .h file @property (nonatomic,strong) NSOperationQueue *operationQueue; @implementation Utils - (id)init { self = [super init]; if (self) { _operationQueue = [[NSOperationQueue alloc] init]; [_operationQueue setMaxConcurrentOperationCount:10]; } return self; } + (NSOperationQueue *)getQueue { return _operationQueue; } @end