The exception in Realm seems to be incredibly underestimated ... or am I missing something? How to remove objects from the list? Where are the examples?
I have an object A with a list. I have another object B also with a list C has a link back to its parent A
I want to delete B and all its sub-objects of C. If I delete C, I also want to remove it from my parent collection A.
I'm at a standstill ... and I find it unbelievable that Realm docs provide only two examples:
try! realm.write {
realm.delete(cheeseBook)
}
try! realm.write {
realm.deleteAll()
}
source
share