could not locate an NSManagedObjectModel for entity name

前端 未结 7 2512
[愿得一人]
[愿得一人] 2020-12-18 19:15

This is the code for toggleAddProject method, the Core Data code is almost the same as found in Apple\'s CoreDataBooks sample, however when I click the add button the app cr

相关标签:
7条回答
  • 2020-12-18 19:41

    TechZen is spot on...in my case it was #4. Walk through the steps in the following link and this should help you add the appropriate CoreData methods into an existing project and get everything set up correctly so you don't run into the error you're having.

    Adding Core Data To Existing iPhone Projects

    0 讨论(0)
提交回复
热议问题