Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Meitou

macrumors member
Original poster
Aug 25, 2012
33
0
Hey everyone. I have a course entity and an office entity. The office entity has a course as the relationship. The course relationship in the office entity has an inverse relationship with office. This is what I'm doing, multiple offices has the same course objects saved. However, for some reason, whenever I create a new office with the same course obj, the previous one is replaced with nil. Does anyone know what the problem may be? I also tried doing a deep copy, but that didnt work.
This is for swift BTW.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.