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.

screenshot 1

screenshot 2

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

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

python - How to remove the Xframe Options header in django? -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -