Skip to content

Instantly share code, notes, and snippets.

@Mozilla9
Last active September 11, 2015 14:51
Show Gist options
  • Save Mozilla9/2faef57d686485b34ed7 to your computer and use it in GitHub Desktop.
Save Mozilla9/2faef57d686485b34ed7 to your computer and use it in GitHub Desktop.

Сылки по миграции:

  1. Apple Doc - lightweight migration

  2. Apple Doc - Создание MappingModel

  3. objc - Сложные миграции

  4. objc - Импорт данных

  5. Debug ключи для coredata

  6. Хорошие статьи по coredata

Коротко о миграции

  1. Легкая миграция (без создания mapping-model) возможна когда добавляются только property в сущности или меняются какие-то незначительные параметры. Если добавляется сущность, создается relationship - то нужно создавать mapping-model.
  • Simple addition of a new attribute
  • A non-optional attribute becoming optional
  • An optional attribute becoming non-optional, and defining a default value
  • wwdc 2010 mastering
  1. Проблемы миграции при нескольких *.xcdatamodeld в проекте.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment