Contents

filterBy

The predicate used to filter which models are included in the results.

Declaration

final var filterBy: Predicate<Element>? { get set }

Discussion

Setting this property updates the underlying fetchDescriptor’s predicate and immediately refetches on the calling actor — results are synchronously up to date before the setter returns. Set to nil to remove filtering and include all models of this type.

See Also

Accessing observer properties