Open Classswift 6.0.3Foundation
NSCompoundPredicate
class NSCompoundPredicate
class NSCompoundPredicate
import Foundation
class NSPredicate
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 : Equatable
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 : AnyObject
The NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
convenience init(andPredicateWithSubpredicates subpredicates: [NSPredicate])
convenience init(notPredicateWithSubpredicate predicate: NSPredicate)
convenience init(orPredicateWithSubpredicates subpredicates: [NSPredicate])
init(type: NSCompoundPredicate.LogicalType, subpredicates: [NSPredicate])
var compoundPredicateType: NSCompoundPredicate.LogicalType
var subpredicates: [NSPredicate]
override func evaluate(with object: Any?, substitutionVariables bindings: [String : Any]?) -> Bool
enum LogicalType