SwiftCSV

CSV parser for Swift

MIT License

Stars
911
Committers
29

Bot releases are hidden (Show)

SwiftCSV - Privacy Manifest Latest Release

Published by DivineDominion 5 months ago

SwiftCSV - Import compatibility, export delimiter & quotation fixes

Published by DivineDominion about 2 years ago

Bugfixes:

  • Strip byte order mark from Strings when importing so they don't become part of imported content's cells.
    See #97 for discussion. (#103) -- @lardieri
  • Respect alternate delimiters when serializing the CSV.
    See #102 for discussion. (#107) -- @lardieri
  • Escape any double-quotes embedded inside the field values when serializing the CSV.
    See #111 for discussion. -- @lardieri
SwiftCSV - Delimiter Guessing

Published by DivineDominion about 2 years ago

0.7.0

API Changes:

  • Introduce delimiter guessing (#100) - @DivineDominion
SwiftCSV - NamedCSV / EnumeratedCSV

Published by DivineDominion over 2 years ago

0.8.0

API Changes:

  • Replace namedRows/namedColumns and enumeratedRows/enumeratedColumns with CSV and CSV types
    that both expose a rows/columns property with different types. This way you cannot screw up by trying to access
    an unpopulated array because the CSV was loaded wrongly. The type knows it all. (#76) -- @DivineDominion
    • CSV.namedRows/CSV.namedColumns and CSV.enumeratedRows/CSV.enumeratedColumns are removed.
    • NamedCSV/EnumeratedCSV type aliases are introduced to simplify access.
SwiftCSV - Fix enumeration limit (esp. for header parsing)

Published by DivineDominion almost 3 years ago

0.6.1

Bugfixes:

  • Fix enumeration limit being ignored in Parser (#98) - @jasonmedeiros
SwiftCSV - SwiftUI Naming Compatibility

Published by DivineDominion almost 4 years ago

API Changes:

  • Rename View to CSVView to avoid SwiftUI namespace conflicts (#93) - @campionfellin

Other:

  • Bump iOS Deployment target to 9.0, Xcode 12 recommended changes. (#91) - @DenTelezhkin
SwiftCSV - Fix description property

Published by lukestringer90 over 4 years ago

  • The description property for CSV now properly handles values with quotes. See #86 for more info.
SwiftCSV - Initializer Cleanup

Published by DivineDominion over 5 years ago

  • Cleans up the initializer names to solve confusion in #39
  • Changes Package.swift to support Swift v4 and v5.1
SwiftCSV - SwiftPM Support

Published by DivineDominion over 5 years ago

  • Adds SwiftPM support by @orangeince (#77)
  • Adds codecov.io support
  • Changes fatalError-ing out to throwing Swift errors

Also enables Xcode 11 to download the package at this version.

SwiftCSV - Swift 5

Published by DivineDominion over 5 years ago

  • update project to Xcode 10.2/Swift 5 @phpmaple @DivineDominion
SwiftCSV - Swift 3

Published by DivineDominion over 5 years ago

  • update to Swift 3 @phpmaple and @DivineDominion
  • add edge case test @grantkemp
SwiftCSV - Swift 4.2

Published by DivineDominion over 5 years ago

  • update code and project settings to Swift 4.2/Xcode 10.1 @marcospolanco @DivineDominion
  • improve CSV enumeration @DivineDominion