save() Writes any pending inserts, changes, and deletes to the persistent storage. Declarationfunc save() throws Mentioned inPreserving your app’s model data across launches Discussion See AlsoPersisting unsaved changesautosaveEnabledtransaction(block:)rollback()