commit
1f4719e8e2
|
@ -2,7 +2,7 @@ Pod::Spec.new do |s|
|
||||||
s.name = 'CSV.swift'
|
s.name = 'CSV.swift'
|
||||||
s.version = '2.0.0'
|
s.version = '2.0.0'
|
||||||
s.license = 'MIT'
|
s.license = 'MIT'
|
||||||
s.summary = 'CSV reading library written in Swift.'
|
s.summary = 'CSV reading and writing library written in Swift.'
|
||||||
s.homepage = 'https://github.com/yaslab/CSV.swift'
|
s.homepage = 'https://github.com/yaslab/CSV.swift'
|
||||||
s.authors = { 'Yasuhiro Hatta' => 'hatta.yasuhiro@gmail.com' }
|
s.authors = { 'Yasuhiro Hatta' => 'hatta.yasuhiro@gmail.com' }
|
||||||
s.source = { :git => 'https://github.com/yaslab/CSV.swift.git', :tag => s.version }
|
s.source = { :git => 'https://github.com/yaslab/CSV.swift.git', :tag => s.version }
|
||||||
|
|
|
@ -354,10 +354,10 @@ extension CSVReader {
|
||||||
|
|
||||||
//extension CSVReader {
|
//extension CSVReader {
|
||||||
//
|
//
|
||||||
// public func enumerateRows(_ block: (([String], [String]?, inout Bool) throws -> Void)) throws {
|
// public func enumerateRows(_ block: ((CSVReader, inout Bool) throws -> Void)) throws {
|
||||||
// var stop = false
|
// var stop = false
|
||||||
// while let row = readRow() {
|
// while next() != nil {
|
||||||
// try block(row, headerRow, &stop)
|
// try block(self, &stop)
|
||||||
// if stop {
|
// if stop {
|
||||||
// break
|
// break
|
||||||
// }
|
// }
|
||||||
|
|
Loading…
Reference in New Issue