ResKit 0.20.0“预期类型”错误

时间:2013-08-22 02:33:35

标签: objective-c restkit restkit-0.20

为什么以下代码会产生Expected a type错误?

@interface UUUExampleAPI ()
- (void)fireErrorBlock:(RKRequestDidFailLoadWithErrorBlock)failBlock onErrorInResponse:(RKResponse *)response;
@end

1 个答案:

答案 0 :(得分:0)

因为RKRequestDidFailLoadWithErrorBlockRKResponse在RestKit 0.10.3中可用,但不是0.20.0。