Instance Method

addChildContext(_:)

Adds the specifed context as a child of the context receiving the method call.

Declaration

func addChildContext(_ child: CLSContext)

Parameters

child

The context to add as a child of the one receiving the method call.

Discussion

Typically you use the CLSDataStoreDelegate protocol to build contexts, in which case you don’t need to call this method directly.

See Also

Managing Context Hierarchy

var parent: CLSContext?

The direct ancestor of this context.

func removeFromParent()

Removes the context from its parent.

func descendant(matchingIdentifierPath: [String], completion: (CLSContext?, Error?) -> Void)

Finds the context with the given identifier path relative to this context.