我一直在使用MGTwitterEngine,它在IOS 4.x上工作正常,但在IOS 5.x上不起作用我已经下载了最新版本,mattgemmell-MGTwitterEngine-e40658f,并将其与同一问题集成在一起。我得到以下内容,我只是开始研究,但这段代码在IOS 4.x上运行良好
以下是该行,但在IOS 4.x上工作正常,可以进行某种折旧
[delegate parsedObject:(NSDictionary *)dictionary forRequest:identifier ofResponseType:responseType];
Instance method '-parsedObject:forRequest:ofResponseType:' not found (return type defaults to 'id')
委托是
的类型__weak NSObject <MGTwitterParserDelegate> *delegate; // weak ref
并且处于常规
- (void)_parsedObject:(NSDictionary *)dictionary
{
[parsedObjects addObject:dictionary];
if (deliveryOptions & MGTwitterEngineDeliveryIndividualResultsOption)
if ([self _isValidDelegateForSelector:@selector(parsedObject:forRequest:ofResponseType:)])
[delegate parsedObject:(NSDictionary *)dictionary forRequest:identifier ofResponseType:responseType];
}
在例程中设置中断后,看起来它没有被调用.....
所以,我们回到第一个问题,任何人都解决了这个Twitter引擎无法在IOS 5.x上运行的问题