A specialized predicate that evaluates logical combinations of other predicates.
- iOS 3.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
NSCompound to create an
OR compound predicate of zero or more other predicates, or the
NOT of a single predicate. For the logical
ANDpredicate with no subpredicates evaluates to
ORpredicate with no subpredicates evaluates to
A compound predicate with one or more subpredicates evaluates to the truth of its subpredicates.