Added -newPrivateContext for SQLite stack with saving context
Dropped old -workingName methods
Besides I think persistent store initialization should be entirely moved out from accessors for -context, -coordinator and such. I have some funky side effects when a call to -coordinator rolls out infinite loop initialization and crash because ivars are not set and this happens in response to notification sent at the point when new store is added.
-loadStack is really a good place to do all that work at once. This is particularly important for iCloud stack which posts important notifications right away.
That's why I had to implement my own createCoordinatorWithOptions in iCloud stack:
Besides I think persistent store initialization should be entirely moved out from accessors for
-context
,-coordinator
and such. I have some funky side effects when a call to -coordinator rolls out infinite loop initialization and crash because ivars are not set and this happens in response to notification sent at the point when new store is added.-loadStack
is really a good place to do all that work at once. This is particularly important for iCloud stack which posts important notifications right away.That's why I had to implement my own
createCoordinatorWithOptions
in iCloud stack: