I have an Cocoa app that calls a web service. When I parse the response from the web service I am getting a \n as the last character in my foundCharacters delegate for the NSXMLParser for each element in the XML.
When I try to do the following:
if (![string isEqualToString:@"\n"])
The check will always fails to catch the newline. Anyone know a good way to string check a newline?
I also find it odd that each element would have a newline at the end of each value, even though I see no evidence of that in the output from the web service.
This is quite the problem for something that should be exceptionally easy to do.