Skip to content

Commit 3f90a38

Browse files
committed
Marked SSYPersistentDocumentMultiMigrator as deprecated, should replace with the Swift code in my CoreDataProgressiveMigration repo.
1 parent e9e7c83 commit 3f90a38

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

SSYPersistentDocumentMultiMigrator.h

+15-2
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,24 @@ extern NSString* const SSYPersistentDocumentMultiMigratorDidEndMigrationNotifica
3737
#define SSYPersistentDocumentMultiMigratorErrorCodeUserCancelledUndisplayableRestore 315023
3838

3939
/*!
40-
@brief Class which provides a method automatically migrating
40+
@brief DEPRECATED Class which provides a method automatically migrating
4141
persistent stores in Core Data document-based apps over multiple
4242
versions
4343
44-
@details Although earlier versions of this class played with apps using
44+
@details *** DEPRECATION NOTICE ***
45+
SSYPersistentDocumentMultiMigrator is *** DEPRECATED *** because
46+
I had some trouble using this class in May 2022. The trouble may be that
47+
SSYPersistentDocumentMultiMigrator does not support modern SQLite stores with
48+
write-ahead logging (-shm and -wal files). I'm not sure because instead of
49+
troubleshooting it, I forked a modern example from another developer and
50+
replaced SSYPersistentDocumentMultiMigrator in my projects with the Swift code
51+
in this fork:
52+
53+
https://github.com/jerrykrinock/CoreDataProgressiveMigration
54+
55+
*** END OF DEPRECATION NOTICE ***
56+
57+
Although earlier versions of this class played with apps using
4558
NSPersistentDocument, currently it requires that your app is using
4659
the open-source BSManagedDocument and not NSPersistentDocument. There are
4760
many good reasons to do this, as explained here:

0 commit comments

Comments
 (0)