A tool for converting a CSV set into a MOM CoreData database.
git clone
andpod install
, as you do.- Optionally change the MegaBits-Data branch in the
Podfile
.
- Optionally change the MegaBits-Data branch in the
- Make sure the
WorldData.xcdatamodeld
is up to date.- If not, update and remake the model files.
- Make sure all of the classes you want converted are in the
classes
array of+[MBCSVParser main]
. - Run the app.
- Use SimDir to find the Documents directory. It’ll be somewhere obtuse like this:
- Copy the files
WorldData
,WorldData-shm
, andWorldData-wal
into theWorldDataManager/
directory in MegaBits. - Increment the
CurrentDataVersion
in MegaBits.