How to properly set relationships in Core Data when using setValue and data already exists
- by ern
Let's say I have two objects: Articles and Categories. For the sake of this example all relevant categories have already been added to the data store. When looping through data that holds edits for articles, there is category relationship information that needs to be saved.
I was planning on using the -setValue method in the Article class in order…