I am trying to compile an iPhone app. The app is quite old (2.0 SDK) and it is giving me the following error.
~/Desktop/iphone/MGTwitterEngine/MGTwitterMessagesParser.m:45:0
~/Desktop/iphone/MGTwitterEngine/MGTwitterMessagesParser.m:45: warning:
'MGTwitterStatusesParser' may not respond to ' parser:didEndElement:namespaceURI:qualifiedName:'
I can get past these warnings by turning off the treat warnings as errors but I want to fix it instead. I saw one post that said he fixed it by “putting in the NSXMLParserDelegate”. Can someone explain exactly what that means or what the best way to resolve this issue is?
NSXMLParser did not used to have a strict delegate. e.g. there was not an NSXMLParserDelegate protocol. Now there is, so in the file MGTwitterXMLParser.h you need to change the line:
to