Initializer
init(fetchRequest:transaction:)
Creates a fully configured fetch request that uses the specified transaction when updating results.
Declaration
宣言
Available when Result
conforms to NSFetchRequestResult
.
Parameters
パラメータ
fetchRequest
An NSFetchRequest
instance that describes the search criteria for retrieving data from the persistent store.
transaction
A transaction to use for user interface changes that result from changes to the fetched results.
Discussion
議論
Use this initializer if you need a fetch request with updates that affect the user interface based on a Transaction
. Otherwise, use init(fetchRequest:animation:)
.
See Also
参照
Creating a Fully-Configured Fetch Request