Initializes a fetch request configured with a given entity name.
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Data
The name of the entity to fetch.
A fetch request configured to fetch using the entity named
This method provides a convenient way to configure the entity for a fetch request without having to retrieve an
NSEntity object. When the fetch is executed, the request uses the managed object context to find the entity with the given name. The model associated with the context’s persistent store coordinator must contain an entity named