H.N. H.N. - 1 year ago 92
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 Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download