---
title: defaultFetchRequest()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsobjectcontroller/defaultfetchrequest()
---

# defaultFetchRequest()

Returns the default fetch request used by the receiver.

## Declaration

```swift
func defaultFetchRequest() -> NSFetchRequest<any NSFetchRequestResult>
```

## Return Value

Return Value The default NSFetchResult used by the receiver.

## See Also

### Core Data support

- [entityName](appkit/nsobjectcontroller/entityname.md)
- [fetch(_:)](appkit/nsobjectcontroller/fetch(_:).md)
- [usesLazyFetching](appkit/nsobjectcontroller/useslazyfetching.md)
- [fetchPredicate](appkit/nsobjectcontroller/fetchpredicate.md)
- [managedObjectContext](appkit/nsobjectcontroller/managedobjectcontext.md)
- [fetch(with:merge:)](appkit/nsobjectcontroller/fetch(with:merge:).md)
