mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-28 20:55:32 +08:00
Add missing assert message
This commit is contained in:
@@ -291,7 +291,7 @@ static NSString *RKMIMETypeFromAFHTTPClientParameterEncoding(AFHTTPClientParamet
|
||||
|
||||
- (void)setHTTPOperationClass:(Class)operationClass
|
||||
{
|
||||
NSAssert(operationClass == nil || [operationClass isSubclassOfClass:[RKHTTPRequestOperation class]], @"");
|
||||
NSAssert(operationClass == nil || [operationClass isSubclassOfClass:[RKHTTPRequestOperation class]], @"The HTTP operation class must be a subclass of `RKHTTPRequestOperation`");
|
||||
_HTTPOperationClass = operationClass;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user