magicalpanda/MagicalRecord

Request a different file protection level

dudeinthemirror opened this issue · 1 comments

Is there a way to pass an options dictionary to setupCoreDataStackWithAutoMigratingSqliteStoreNamed ?
In general, is there a way to request a different file protection level ?

For example:

NSDictionary *storeOptions = @{NSPersistentStoreFileProtectionKey  : NSFileProtectionComplete};
[MagicalRecord setupCoreDataStackWithAutoMigratingSqliteStoreNamed:@"my_db" options: storeOptions];
Coeur commented

Feature is being added today. See #1364.