Instance Property


The identifier path that locates the context within the data store’s context hierarchy.


var identifierPath: [String] { get }


You can use the value stored in this property when calling the contexts(matchingIdentifierPath:completion:) method to retrieve the current context.

See Also

Managing Context Hierarchy

var parent: CLSContext?

The direct ancestor of this context.

func removeFromParent()

Removes the context from its parent.

func addChildContext(CLSContext)

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

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

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