I'm trying to pass core data object from one controller to another without saving the changes. but I'mgetting CoreData: error: Mutating a managed object 0x14f70f510
Here's the code:
The reason why I don't want to save the data right away because I want to wait until the user finished the process of creating the new item.
I can do this with creating regular object but since I already have the data model with core data, it seems redundant create two models.
I'm trying to pass core data object from one controller to another without saving the changes. but I'mgetting CoreData: error: Mutating a managed object 0x14f70f510 Here's the code:
The reason why I don't want to save the data right away because I want to wait until the user finished the process of creating the new item. I can do this with creating regular object but since I already have the data model with core data, it seems redundant create two models.