iOS Core Data migration: moving something from an entity into a file
Posted
by Tim Sullivan
on Stack Overflow
See other posts from Stack Overflow
or by Tim Sullivan
Published on 2010-06-17T01:17:36Z
Indexed on
2010/06/17
1:22 UTC
Read the original article
Hit count: 233
I have a scenario where I'm moving the contents of a blob stored in a core data entity into a file. I need a way to export that data during a migration, where I know the entity that's being converted and save the blob to a file, writing the location of that file into the converted entity's appropriate attribute.
I can't seem to find a way to do this. The docs regarding the Three Stage Migration seem to indicate what can be done, but I'm not sure where to define things, or what exactly to define.
© Stack Overflow or respective owner