commit
1f4719e8e2
|
@ -2,7 +2,7 @@ Pod::Spec.new do |s|
|
|||
s.name = 'CSV.swift'
|
||||
s.version = '2.0.0'
|
||||
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.authors = { 'Yasuhiro Hatta' => 'hatta.yasuhiro@gmail.com' }
|
||||
s.source = { :git => 'https://github.com/yaslab/CSV.swift.git', :tag => s.version }
|
||||
|
|
|
@ -354,10 +354,10 @@ 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
|
||||
// while let row = readRow() {
|
||||
// try block(row, headerRow, &stop)
|
||||
// while next() != nil {
|
||||
// try block(self, &stop)
|
||||
// if stop {
|
||||
// break
|
||||
// }
|
||||
|
|
Loading…
Reference in New Issue