Contents

fetchRequest()

Returns an initialized fetch request with the entity this subclass represents.

Declaration

@objc dynamic class func fetchRequest() -> NSFetchRequest<any NSFetchRequestResult>

Discussion

This method is only legal to call on subclasses of NSManagedObject that represent a single entity in the model.

See Also

Managing Change Events