Contents

removeFromParent()

Removes the context from its parent.

Declaration

func removeFromParent()

Discussion

If you remove a context from its parent and don’t add it as the child of another context before you call save(completion:), then the framework deletes the context entirely.

See Also

Managing context hierarchy