I'm looking for an easy to use CSV parser for Objective-C to use on the iPhone. Where can I find one?
I'm also looking for other parsers such as JSON, so maybe there is a conversion library somewhere.
I'm looking for an easy to use CSV parser for Objective-C to use on the iPhone. Where can I find one?
I'm also looking for other parsers such as JSON, so maybe there is a conversion library somewhere.
I wrote a dead-simple (although not fully-featured) CSV parser for a project I was working on:
CSVFile.h
andCSVFile.m
. Feel free to grab it -- the code is available under the GPLv3 (unfortunately, it was a requirement for the project I was working on) but I'd be happy to license it to you under an MIT license or another license.I've found ParseKit few weeks ago But IMHO for most cases
-[NSString componentsSeparatedByString:]
method andNSScanner
are more than enough and quite easy to use.