H.N. H.N. - 16 days ago 5
Swift Question

Core Data - Changing atributes type

I have a project and I am using core data.

I have some entities, with attributes. When I started the project I choose some atributes and now I want to change their types (Int to String for example). ANd so I did it.

THe thing is, I am getting errors...

I checked the code, I think every thing is ok.
I even deleted the entire entity and made a new one with some name but it doesn't work.

How can I change it with success?

Answer

You can use code data migration for this by creating new version..

Comments