See Issue #395 or #405
Added method to check if a given managed object context is the defaul…
Added short hand method for the new MR_isDefaultContext method.
Hi smic, I am running the same exception "Assertion failure" and tried your changes but the exception persist. Is there any other cause? I am using MR 2.1
I don’t think this PR is going to work in it’s current form. I do think MagicalRecord needs to handle NSManagedDocument and UIManagedDocument out of the box, but it’s going to involve a fair number of changes to other parts of the library.
If you haven't already seen it, @casademora has been putting a lot of work into the upcoming MagicalRecord 3.0, which now supports not specifying a default context. I've been using it in an NSDocument-based app (with a store per document) and will be adding my subclass to support this to MR 3 before it is released.