swiftcsv / SwiftCSV

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

How can I create CSV file? #123

Closed iJamesAdi9 closed 1 year ago

iJamesAdi9 commented 1 year ago

I'm new in swift how can I create csv file? Thank you

DivineDominion commented 1 year ago

@iJamesAdi9 StackOverflow is a better place to ask.

The ultimate answer: You need to write a String (or Data) to a file that ends in .csv, that's all.

CSV datatypes from this library offer string serialization, and then you can save the result like any other plain text