Contents

results

The current collection of fetched models matching the fetch criteria.

Declaration

final var results: FetchResultsCollection<Element> { get set }

Discussion

This property is updated automatically when relevant changes occur in the model context. As an @Observable property, SwiftUI views that read this value will automatically refresh when the results change.

See Also

Accessing observer results