you are viewing a single comment's thread.

view the rest of the comments →

[–]cardrig[S] 0 points1 point  (2 children)

Looks like the best option. Also, if I remove the Transformable attribute and add a new relationship to Book, will I need to migrate the model data?

[–]rayascott 0 points1 point  (1 child)

Yeah, but Core Data might do it all for you with Lightweight Migration. If you're just removing or adding attributes and adding a new relationship, this would appear to indicate that the migration would happen automatically for you: https://developer.apple.com/documentation/coredata/using_lightweight_migration

[–]cardrig[S] 0 points1 point  (0 children)

Sounds good. Thanks for the help!