Since I'm here I might as well ask about another problem I'm having.
Im trying to parse an xml but I can't get it to work, no errors found. Just doesnt seem to go through the xml file.
I used some NSLogs at the end of didStartElement, foundCharacters and didEndElement to check if everything was going ok.
didStartElement:
Code:
....
aPromo.promoID = [attributesDict objectForKey:"id"];
....
NSLog(@"Parsing element with id %i", aPromo.promoID)
....
but when I run the app it shows Parsing element with id 0 a lot of times (even if I dont have an element with id=0)
Any ideas?