Fetches all the contexts along a given identifier path.
- iOS 11.4+
An array of strings that trace a path of identifiers from
mainto a target context.
A closure that the method calls with the matching contexts and an optional error that indicates the reason for failure, if any.
Use this method to get all of the named contexts along the identifier path. For example:
The identifier path is taken starting from
main, which lies at the root of your app’s context hiearchy. For each context that doesn’t exist along the path, the data store calls its delegate’s
create method to create the context. If contexts are missing and the data store has no delegate, the returned list of contexts is incomplete.