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

nsmanagedobject

  1. M

    iOS Obj-C: NSManagedObject init within a related object's awakeFromInsert causes EXC_BAD_ACCESS

    I have two entities and two NSMangedObject subclasses. One entity, which we'll call Alice, has a to-many relationship with the other entity - which we'll call Bob. When an Alice object is created, it needs to have an associated Bob object so that my other code works. Here's the code from my...
  2. M

    iOS Objective-C NSManagedObject subclass property: Unrecognized selector sent to instance

    I can't figure out why, but my app seems to be having trouble accessing a property of my NSManagedObject singleton. The property is declared in a category is @dynamic'd in the category's .m file; it has the same name as a corresponding attribute in my model. Edit: And yes, the name of my...