NSPredicate
public extension NSPredicate
-
SwifterSwift: Returns a new predicate formed by NOT-ing the predicate.
Declaration
Swift
var not: NSCompoundPredicate { get }
-
SwifterSwift: Returns a new predicate formed by AND-ing the argument to the predicate.
Declaration
Swift
func and(_ predicate: NSPredicate) -> NSCompoundPredicate
Parameters
predicate
NSPredicate
Return Value
NSCompoundPredicate
-
SwifterSwift: Returns a new predicate formed by OR-ing the argument to the predicate.
Declaration
Swift
func or(_ predicate: NSPredicate) -> NSCompoundPredicate
Parameters
predicate
NSPredicate
Return Value
NSCompoundPredicate
-
SwifterSwift: Returns a new predicate formed by NOT-ing the predicate.
Declaration
Swift
prefix static func ! (rhs: NSPredicate) -> NSCompoundPredicate
Return Value
NSCompoundPredicate
-
SwifterSwift: Returns a new predicate formed by AND-ing the argument to the predicate.
Declaration
Swift
static func + (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate
Parameters
lhs
NSPredicate.
rhs
NSPredicate.
Return Value
NSCompoundPredicate
-
SwifterSwift: Returns a new predicate formed by OR-ing the argument to the predicate.
Declaration
Swift
static func | (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate
Parameters
lhs
NSPredicate.
rhs
NSPredicate.
Return Value
NSCompoundPredicate
-
SwifterSwift: Returns a new predicate formed by remove the argument to the predicate.
Declaration
Swift
static func - (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate
Parameters
lhs
NSPredicate.
rhs
NSPredicate.
Return Value
NSCompoundPredicate