Open ClassFoundation5.9.0
NSCompoundPredicate
class NSCompoundPredicate
Superclasses
Citizens in Foundation
Conformances
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol NSCopying
The
NSCopying
protocol declares a method for providing functional copies of an object. The exact meaning of “copy” can vary from class to class, but a copy must be a functionally independent object with values identical to the original at the time the copy was made.protocol NSObjectProtocol
The
NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
Members
convenience init(andPredicateWithSubpredicates: [NSPredicate]
) convenience init(notPredicateWithSubpredicate: NSPredicate
) convenience init(orPredicateWithSubpredicates: [NSPredicate]
) init(type: NSCompoundPredicate.LogicalType, subpredicates: [NSPredicate]
) var compoundPredicateType: NSCompoundPredicate.LogicalType
var subpredicates: [NSPredicate]
func evaluate(with: Any?, substitutionVariables: [String : Any]?
) -> Bool enum LogicalType