On macOS, Apple has the concept of a “Smart Folder” that is found in all kinds of places. Sometimes they’re called something else, but it’s the same concept. Just off the top of my head, they exist in Mail, Contacts, Finder, Music, and Photos.
The only apps I know about that have added them for both macOS and iOS are Reminders and Notes, although I’ve found the implementation of them to be a bit weird. In both of those, you can’t add sub-conditions, so you can say all or any of a list of conditions, but you can’t say “all of these conditions and any of these conditions.” It might sound like a small thing, but it’s not.
Anyway, back to the topic. I want this, and I want Apple to add it. Part of me wonders if it’s just a matter of there not being an equivalent to NSRuleEditor in UIKit or SwiftUI, and so every app would have to implement the control on their own.
Apple Photos is the one where I really miss this because Photos libraries tend to be so big, and there are so many ways to slice them. For example, “I want to only see photos taken with this or that camera in the last six months.”
I know this whole thing probably sounds very specific and nerdy to anyone who doesn’t use this feature, but I do, and I think Apple should add it. It’s been fifteen years, Apple. I believe in you. You can do it.