Group Group Group Group Group Group Group Group Group

Lightweight Migrations in Core Data Tutorial | Ray Wenderlich

#1

Learn how to keep your data models up-to-date with this Core Data migrations tutorial!


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/7585-lightweight-migrations-in-core-data-tutorial
#2

Hi!
Can someone explain what is Value Transformer and Module?

#3

@astralbodies Can you please help with this when you get a chance? Thank you - much appreciated! :]

#4

Okay. Value Transformer is the class that inherited from NSValueTransformer and will cast one data type to another. But still what is module?

#5

@astralbodies Do you have any feedback about this? Thank you - much appreciated! :]

#6

Hey @observerward - so sorry I missed your question and left you hanging! Thanks @shogunkaramazov for the nudge.

Module is the Swift module that the model classes exist in. You can leave it set to “Current Product Module” if all of your model classes live in the same project/module that the model is in. 99.9% of the time this will be true for you, and definitely is the case with the book.

Take a look here for more information on modules in Swift.

#7

Thanks for reply! Very appreciate!

#8

This tutorial is more than six months old so questions are no longer supported at the moment for it. Thank you!

closed #9