Instance Property


A dictionary of the receiver’s fetch request templates, keyed by name.


@property(readonly, copy) NSDictionary<NSString *,NSFetchRequest *> *fetchRequestTemplatesByName;


If the template contains a predicate with substitution variables, you should instead use fetchRequestFromTemplateWithName:substitutionVariables: to create a new fetch request.

See Also

Getting Fetch Request Templates

- fetchRequestTemplateForName:

Returns the fetch request with a specified name.

- fetchRequestFromTemplateWithName:substitutionVariables:

Returns a copy of the fetch request template with the variables substituted by values from the substitutions dictionary.

- setFetchRequestTemplate:forName:

Associates the specified fetch request with the receiver using the given name.