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
|
||||
// in practice, error and status set concurrently.
|
||||
+(NSSet *)keyPathsForValuesAffectingStatus {
|
||||
static NSSet *set = nil;
|
||||
if (!set) set = [NSSet setWithObjects: @"error", nil];
|
||||
return set;
|
||||
+(NSSet *)keyPathsForValuesAffectingStatusDescription {
|
||||
return [NSSet setWithObjects: @"error", @"status", nil];
|
||||
}
|
||||
#endif
|
||||
|
||||
-(NSString *)statusDescription {
|
||||
|
||||
static NSString *Names[] = {
|
||||
|
|
Loading…
Reference in New Issue