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

moonman239

Cancelled
Original poster
Mar 27, 2009
1,541
32
I have a parent class whose child classes are each assigned a different managed object. Each managed object is a subclass of NSManagedObject and is assigned to a different entity in my data model. My entities share attribute names; therefore, my managed objects share property names.

In the parent class's .m file, I want to insert code that will edit one of the properties of the currently-active child class's managed objects. How should I do this?
 
Would you mind posting the code from the header files of your NSManagedObject subclasses?

Are the relationships to-one or to-many?

Are you using Core Data?

Did you ever solve your EXEC_BAD_ACCESS problem? I hear it's good practice to fix bugs before adding new functionality.
 
You might want to post an Image of the Object Map for you data model.

If I think I understand what you are saying there could be a couple of different model set-ups with slightly different answers.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.