June 2016
Intermediate to advanced
214 pages
5h 40m
English
There are two types of migrations for Core Data: light (also referred to as lightweight or inferred) migration and heavy (also referred to as manual) migration. When we’re working with SQLite persistent stores, the difference between these two types of migration is significant.
A light migration of a SQLite persistent store occurs within the SQLite file itself. No objects are loaded into memory, and therefore the memory requirements of the migration are quite low. In addition, since the migration is occurring within the database file, it’s very fast. Although the size of the database file still affects the speed of the migration, a light migration of large database will still be remarkably faster ...
Read now
Unlock full access