CSVをパースしてくれる便利なクラスのパースライブラリがあったので、メモ。""囲いにも対応。 Writing a parser using NSScanner (a CSV parsing example) http://cocoawithlove.com/2009/11/writing-parser-using-nsscanner-csv.html サンプルは以下よりダウンロード可能 http://projectswithlove.com/projects/CSVImporter.zip 使い方 ZIPを解凍して、CSVParser.h CSVParser.mのみを自分のプロジェクトにコピー 例えば以下のような形で利用可能。 // parse csvstring CSVParser *csvParser = [CSVparser alloc] initWithString:csvstri
![Objective-CのCSVパーサ - 西海岸より](https://cdn-ak-scissors.b.st-hatena.com/image/square/06a15c64ba0ceec233d86d71001ebb29a9dcbf5d/height=288;version=1;width=512/https%3A%2F%2Fcdn.blog.st-hatena.com%2Fimages%2Ftheme%2Fog-image-1500.png)