在哪里可以找到Objective-C的NSArray解析器的CSV? [英] Where can I find a CSV to NSArray parser for Objective-C?

查看:91
本文介绍了在哪里可以找到Objective-C的NSArray解析器的CSV?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种易于使用的Objective-C CSV解析器,以便在iPhone上使用。我在哪里可以找到一个?

I'm looking for an easy to use CSV parser for Objective-C to use on the iPhone. Where can I find one?

我也在寻找其他解析器,比如JSON,所以也许某个地方有转换库。

I'm also looking for other parsers such as JSON, so maybe there is a conversion library somewhere.

推荐答案

我终于清理了我在代码文件夹中的解析器并将其发布在Github上: http://github.com/davedelong/CHCSVParser

I finally got around to cleaning up a parser I've had in my code folder and posted it on Github: http://github.com/davedelong/CHCSVParser

这是非常彻底的。它处理各种转义方案,字段中的换行符,注释等。它还使用智能文件加载,这意味着您可以在受限的内存条件下安全地解析大文件。

It's quite thorough. It handles all sorts of escaping schemes, newlines in fields, comments, etc. It also uses intelligent file loading, which means you can safely parse huge files in constrained memory conditions.

这篇关于在哪里可以找到Objective-C的NSArray解析器的CSV?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆