@ObservedSectionedResults too restrictive #8360
ayrtonsoftware
started this conversation in
General
Replies: 1 comment
-
How would I pass in the filter to the view. Or the section key path. It does not seem possible. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I use sectioned results in a view, it works for only a small number of scenarios:
@ObservedSectionedResults(Fact.self, sectionKeyPath: \.category, filter: NSPredicate(format: "parent = nil")) var cats
But I need to pass in a
Results<Fact>
, the section key path, and a filter to get the next view I want. This does not seem possible.Beta Was this translation helpful? Give feedback.
All reactions