Structure

NSFetchRequestResultType

Constants that specify the possible result types a fetch request can return.

Overview

These constants are used by resultType.

Topics

Initializing a Result Type

Result Types

static var countResultType: NSFetchRequestResultType

The request returns the count of the objects that match the request.

Relationships

Conforms To

See Also

Managing the Fetch Request’s Entity

init()

Creates a new fetch request.

init(entityName: String)

Initializes a fetch request configured with a given entity name.

var entityName: String?

The name of the entity the request is configured to fetch.

var entity: NSEntityDescription?

The entity specified for the fetch request.

var includesSubentities: Bool

A Boolean value that indicates whether the fetch request includes subentities in the results.