PredicateKit icon indicating copy to clipboard operation
PredicateKit copied to clipboard

Added SectionedFetchRequest handlers and updatePredicate to SwiftUI

Open RCCoop opened this issue 1 year ago • 0 comments

Continuing from https://github.com/ftchirou/PredicateKit/issues/24

Added functionality for SwiftUI SectionedFetchRequest (very similar to FetchRequest property wrapper, but with sections).

Also added updatePredicate(_:) functions to FetchedResults and SectionedFetchResults so that the wrapped property can have its predicates updated dynamically.

Added test for FetchRequest.updatePredicate(_:), but the tests for SectionedFetchRequest will need another type of test (see the issue link for details).

RCCoop avatar Jan 29 '24 17:01 RCCoop