There seem to be other answers the this on stack overflow but nothing that is specific to swift.
I am generating a CSV from an Site Object containing 3 properties
The CSV specification suggests to wrap all fields containing special characters in double quotes.