Reputation: 673
I am developing a sdk(static library for iOS) for other users/developers. I have to some data and persist it for a long time. So I have to use core data along with the sqlite database in this project. My question is while at the end building SDK will the xcdatamodel object will be hidden from users of this SDK or I have to use something other than core data.
My requirement is to hide the coredatamodel object from users of this SDK. How can I implement that. I will be sharing headers that users/developers can use.
Thanks in advance.
Upvotes: 0
Views: 117
Reputation: 14694
There are other ways to persist data besides coredata, such as plists. In this case I think it is better to use something like that rather than coredata. Otherwise you will have problems coordinating contexts, models, etc.
Upvotes: 1