This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// see also this gist: https://gist.github.com/horseshoe7/e85bbb90278f626bea2f827ee5228703 | |
// and a post about Core Data migrations at http://horseshoe7.wordpress.com | |
import Foundation | |
import CoreData | |
class CoreDataStackHelper : NSObject, MHWMigrationManagerDelegate { | |
var currentModelStoreURL: URL? = nil | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#import <CoreData/CoreData.h> | |
@class MHWMigrationManager; | |
@protocol MHWMigrationManagerDelegate <NSObject> | |
NS_ASSUME_NONNULL_BEGIN | |
@optional | |
- (void)migrationManager:(MHWMigrationManager *)migrationManager migrationProgress:(float)migrationProgress; |