CSV reading and writing library written in Swift.
This release targets Swift 5.0.x / Xcode 10.2.x.
In 2.4.2 and later versions, If you specify a key that does not have a value in subscript, an empty string is returned. For example,
let csvString = "key1,key2\nvalue1" // There is only one field in the second line.
let csv = try! CSVReader(string: csvString, hasHeaderRow: true)
csv.next()
let value2 = csv["key2"] // Change point: Formerly nil, now "" is returned.
let value3 = csv["key3"] // In this case, nil will be returned.
This release targets Swift 5.0.x / Xcode 10.2.x.
CSVWriter
: Automatically quote values that contain commas (#89). Thanks mxcl for the pull request!This release targets Swift 5.0.x / Xcode 10.2.x (#84). Thanks UberJason for the pull request!
This release targets Swift 4.2.1 / Xcode 10.1.
Document updates only.
This release targets Swift 3.0.1 / Xcode 8.1.
This release targets Swift 3.0.1 / Xcode 8.1.
This release targets Swift 3.0 / Xcode 8.0.