CodableCSV
CodableCSV copied to clipboard
Read and write CSV files row-by-row or through Swift's Codable interface.
## Question In a large scale streaming situation, the csv is being used to 'chunk' rows. I'd like to be able to pass in headers, but not send them to...
The following warning is emitted for a number of function declarations when compiling with Swift 5.7 (Xcode 14 Beta): *"Non-'@objc' instance method in extensions cannot be overridden; use 'public' instead"*...
## Description I have been trying to parse some bank statements using your code. Unfortunately the statement fields are not quoted text & the last field contains payee descriptions that...
## Question With the default config, how can I escape commas and line returns within a field in order to ensure the resulting CSV is readable? ## Additional Context I'm...
Question Hi all. Not sure if this is pilot error or if its a bug but it appears that the last column in our CSV consistently decodes to blank. We've...
Introduces a new encoder option. ## Description Example: let encoder = CSVEncoder { // ... $0.quoteAll = true } The effect is that each field is quoted in the output...
## Question Hey @dehesa 👋 I am fairly new to this package and I have a question. I want to skip a column during export and import. **Export**: Given a...
## Is your feature request related to a problem? It is currently possible to create an invalid `CSVWriter.Configuration` by supplying `nil` as a field- or row-delimiter. `nil` means "infer the...
## Description Adds the ability to automatically infer the CSV file's field delimiter. To use field delimiter detection, specify `nil` for the field delimiter when configuring `CSVReader`: ```swift let configuration...
## Is your feature request related to a problem? When using CodableCSV to load user-provided CSV files, one currently needs to ask the user which field delimiter is used in...