This gist is just a list of small helper code and CLI commands to help during development.
CoreData location in simulator
Prints the location of the Core Data database in the console to inspect if data is actually saving. You can put this anywhere you would like. I typeically put it in the AppDelegate.swift file to be called when the app first launches.
print("🚒 Documents Directory: ", FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).last ?? "Not Found!")