Core Data - how to generate CoreDataGeneratedAccessors?

后端 未结 4 1269
南方客
南方客 2021-02-15 11:29

I\'ve gone through apple dev website, google and stack overflow to figure out the basics behind CoreDataGeneratedAccessors.

I\'m using Xcode 4.2 and core data. I created

4条回答
  •  执念已碎
    2021-02-15 11:49

    1)created a new version of the Core Data Model via Xcode.

    2)Fix the relationship (added a new relationship between the two.https://developer.apple.com/library/watchos/documentation/Cocoa/Conceptual/CoreData/HowManagedObjectsarerelated.html)

    3)re-created the NSManagedObject subclass

提交回复
热议问题