Overview of CodableCSV usage patterns
masterCodableCSV provides two primary ways to interact with CSV data:
- Imperative Reader/Writer: Use this for low-level, row-by-row, and field-by-field processing. This is useful when you need fine-grained control over the parsing or writing process.
- Declarative Decoder/Encoder: Use this to leverage Swift's
Codableprotocol. This allows you to map CSV rows directly to Swift structs or classes, providing a high-level, type-safe interface.