objective c - Core Data Many to Many Reflexive Relationship -
how model following in core data. entity called task attribute called name. tasks can have task dependencies including task parents must completed prior completing task. tasks have inverse of children require task completed prior completing themselves.
i have modeled in above screenshot, data not persist between app restarts. should using intermediate join entity?
modeling , persisting have nothing each other. model looks fine.
look @ code , see saving. make sure save code firing.
all relationships populate, , there no errors on save call. issue when stop app (after saving) , restart, relationships empty
you not giving detail go on here. not normal state being missed.
how setting relationship between 2 managed objects? please show example of code.
how testing relationship later? again, showing code make easier solve.
Comments
Post a Comment