We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! I am trying to use SugarRecord and got some assertions. I've checked the reason and I think the following function is missing a line:
class func initializeContextsStack(persistentStoreCoordinator: NSPersistentStoreCoordinator) { SugarRecordLogger.logLevelInfo.log("Creating contexts stack") var rootContext: NSManagedObjectContext = NSManagedObjectContext.newContext(nil, persistentStoreCoordinator: persistentStoreCoordinator) NSManagedObjectContext.setRootSavingContext(rootContext) var defaultContext: NSManagedObjectContext = NSManagedObjectContext.newContext(rootContext, persistentStoreCoordinator: nil) }
Isn't there a line
NSManagedObjectContext.setDefaultContext(defaultContext)
missing?
The text was updated successfully, but these errors were encountered:
Right @Khoulaiz , opening the issue . Thanks for the report
Sorry, something went wrong.
Fixed in develop @Khoulaiz #20
pepicrft
No branches or pull requests
Hi!
I am trying to use SugarRecord and got some assertions. I've checked the reason and I think the following function is missing a line:
Isn't there a line
missing?
The text was updated successfully, but these errors were encountered: