mirror of https://github.com/ksherlock/ample.git
statusDescription depends on status (and error)
This commit is contained in:
parent
796b1f2fc8
commit
9ab4b8373d
|
@ -619,15 +619,9 @@ static NSInteger TaskStatusCode(NSURLSessionTask *task) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
+(NSSet *)keyPathsForValuesAffectingStatusDescription {
|
||||||
// in practice, error and status set concurrently.
|
return [NSSet setWithObjects: @"error", @"status", nil];
|
||||||
+(NSSet *)keyPathsForValuesAffectingStatus {
|
|
||||||
static NSSet *set = nil;
|
|
||||||
if (!set) set = [NSSet setWithObjects: @"error", nil];
|
|
||||||
return set;
|
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
-(NSString *)statusDescription {
|
-(NSString *)statusDescription {
|
||||||
|
|
||||||
static NSString *Names[] = {
|
static NSString *Names[] = {
|
||||||
|
|
Loading…
Reference in New Issue