swiftcsv / SwiftCSV

CSV parser for Swift
MIT License
947 stars 190 forks source link

Introduce delimiter guessing #100

Closed DivineDominion closed 2 years ago

DivineDominion commented 2 years ago

In the app where I use SwiftCSV, users often try to import CSV with either tabs or semicolons as delimiters.

I figured delimiter guessing is useful for everyone, not just users of my app, so here's an attempt to add that functionality.

What do you think about these changes?

If we merge this, I'd bump the version to v0.7.0 because this is breaking backwards compatibility.

DivineDominion commented 2 years ago

@orangeince Thanks for taking a look! Could you select "approve" from the review options if you'd be fine with me merging this?

orangeince commented 2 years ago

@DivineDominion Sorry, it my mistake.

DivineDominion commented 2 years ago

Thanks for merging! Didn't notice the notification when you approved, sorry 😅