This is Matt Gallagher implementation of CSV Parser, descripbed in his article "http://www.cocoawithlove.com/2009/11/writing-parser-using-nsscanner-csv.html"  Code was converted to ARC. Import headers are for iOS now.