coredata export to .csv and import it back
This demo project can help every one who is working with coredata on macOS and wants to export a coreData entity to a csv file
and then importe it back in to the app on another Mac
it´s in swift 4
import csv code is from https://www.appcoda.com/core-data-preload-sqlite-database/ i motified it to macOS
thanks to Simon Ng https://twitter.com/simonng