ReactiveCSVParser:使用 ReactiveCocoa 和 Swift 解析 CSV 文件

时间:2021-06-27 08:23:10
【文件属性】:
文件名称:ReactiveCSVParser:使用 ReactiveCocoa 和 Swift 解析 CSV 文件
文件大小:16KB
文件格式:ZIP
更新时间:2021-06-27 08:23:10
Swift 响应式CSV解析器 安装 在您的添加“Palleas/reactiveCSVParser”。 然后运行carthage update ,然后将你需要的构建carthage update框架放到你的项目中。 用法 let parser = Parser ( path : " le-file.csv " ) let signal = parser. parse () 在我们有了解析器之后, parse 方法将返回一个信号。 一一接收结果 这个库的重点是独立处理每一行,这样你就可以分散任何处理,而不是使用潜在的巨大数组。 signal. subscribeNext ({ (line) -> Void in println ( " Got line \( line ) " ) }, error : { (error) -> Void in println ( " Got error
【文件预览】:
ReactiveCSVParser-master
----.travis.yml(106B)
----Cartfile.resolved(46B)
----LICENSE(1KB)
----Gemfile(55B)
----Gemfile.lock(119B)
----ReactiveCSVParser.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(18KB)
--------xcshareddata()
----Scripts()
--------bootstrap(776B)
--------run-tests(185B)
----.gitignore(25B)
----ReactiveCSVParserTests()
--------Fixtures()
--------ParserTests.swift(2KB)
--------Info.plist(759B)
----Makefile(122B)
----README.md(2KB)
----Cartfile(46B)
----ReactiveCSVParser()
--------ReactiveCSVParser.h(564B)
--------Parser.swift(2KB)
--------Info.plist(944B)

网友评论