Adding Core Data to existing project in XCode 4

前端 未结 6 1315
一向
一向 2021-02-01 17:02

I started off the project without Core Data and now I would like to add that functionality to my apps. How do I do this?

What additional things does XCode sets up when

6条回答
  •  醉梦人生
    2021-02-01 17:33

    Xcode adds a bundle of stuff into the standard template for Core Data.

    If you are not familiar with it then create a new Core Data project and push your own stuff into it rather than trying to add the infrastructure to your existing project.

    Basically what you get is...

    • An empty Core Data model.
    • Init code for the Core Data stack

提交回复
热议问题