开发者

Combine two core data applications! Iphone

Just preparing myself for a task that i feel could be quite troublesome, and just wanted to get any advice or pointers on where i may fall over with this task.

I have two "mini" applications, they both use core data as a persistent storage solution. I am going to combine these two apps to make a "Medium" sized app 开发者_如何学Go:)

Is there anything i should be looking out for when combining two apps that implement core data as their persistent storage solution.

All tips and advice welcome :)


If you do not merge the datasets you should keep two separate ManagedObjectContexts and make sure that you specify the URL for the Object Model rather than using the merge methods. If you do not specify the model for each managedObjectContext the persistentStores will be incompatible as they do not correspond to the merged model, but to the individual models.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜