supermarin/ObjectiveRecord — pull request #77 by remaerd (2014-02-27 20:10:07+00:00)
Title: Multiple Contexts Support

Hello.

I'm facing to the multiple contexts problem for a long time. I need to have an persistent Store and an InMemory Store in my app. I like ObjectiveRecord, But the useInMemoryStore isn't the solution. So I make up my mind to do something about it.

I added the manageObjectContexts array and related methods into ObjectiveRecord. So I can Add / Remove Contexts into ObjectiveRecord; Fetch / Find objects from multiple contexts; Move / Copy objects between contexts.

I'm not used to do testing on my code. So these changes are not tested yet. I make this merge to the master branch so I can know what you guys think about these changes.

Cheers.