开发者

How to add Core Data to Static Framework for iOS?

I develop Static Library 开发者_如何学Cin XCode. I want to use Core Data by using Core Data model (file with extension .xcdatamodeld).

When I want to add it to project, it's impossible to check in "Get info" field, so it'll be used in this framework.

How should I add such data, so framework will be able to use it.

Thanks and take care plp :)


You add Core Data as a Framework to get access to its headers, like you would with any other (application) project. Your users will then also need to add it as a Framework when they build their apps.

You can't and shouldn't add Core Data statically, if you're thinking of it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜