Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSComparisonPredicateMBS class.
NSComparisonPredicateMBS.NSAllPredicateModifier = 1
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A predicate to compare all entries in the destination of a to-many relationship.
The left hand side must be a collection. The corresponding predicate compares each value in the left hand side with the right hand side, and returns false when it finds the first mismatch—or true if all match.
Available in Mac OS X v10.4 and later.
NSComparisonPredicateMBS.NSAnyPredicateModifier = 2
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A predicate to match with any entry in the destination of a to-many relationship.
The left hand side must be a collection. The corresponding predicate compares each value in the left hand side against the right hand side and returns true when it finds the first match—or false if no match is found
Available in Mac OS X v10.4 and later.
NSComparisonPredicateMBS.NSBeginsWithPredicateOperatorType = 8
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A begins-with predicate.
Available in Mac OS X v10.4 and later.
NSComparisonPredicateMBS.NSBetweenPredicateOperatorType = 100
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A predicate to determine if the right hand side lies at or between bounds specified by the left hand side.
Returns true if [lhs between rhs]; the right hand side must be an array in which the first element sets the lower bound and the second element the upper, inclusive. Comparison is performed using compare: or the class-appropriate equivalent.
Available in Mac OS X v10.5 and later.
NSComparisonPredicateMBS.NSCaseInsensitivePredicateOption = 1
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A case-insensitive predicate.
You represent this option in a predicate format string using a [c] following a string operation (for example, "NeXT" like[c] "next").
Available in Mac OS X v10.4 and later.
These options are supported for LIKE as well as all of the equality/comparison operators.
NSComparisonPredicateMBS.NSContainsPredicateOperatorType = 99
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A predicate to determine if the left hand side contains the right hand side.
Returns true if [lhs contains rhs]; the left hand side must be an NSExpression object that evaluates to a collection
Available in Mac OS X v10.5 and later.
NSComparisonPredicateMBS.NSCustomSelectorPredicateOperatorType = 11
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A predicate that uses a custom selector that takes a single argument and returns a BOOL value.
The selector is invoked on the left hand side with the right hand side as the argument.
Available in Mac OS X v10.4 and later.
NSComparisonPredicateMBS.NSDiacriticInsensitivePredicateOption = 2
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A diacritic-insensitive predicate.
You represent this option in a predicate format string using a [d] following a string operation (for example, "naïve" like[d] "naive").
Available in Mac OS X v10.4 and later.
These options are supported for LIKE as well as all of the equality/comparison operators.
NSComparisonPredicateMBS.NSDirectPredicateModifier = 0
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A predicate to compare directly the left and right hand sides.
Available in Mac OS X v10.4 and later.
NSComparisonPredicateMBS.NSEndsWithPredicateOperatorType = 9
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
An ends-with predicate.
Available in Mac OS X v10.4 and later.
NSComparisonPredicateMBS.NSEqualToPredicateOperatorType = 4
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
An equal-to predicate.
Available in Mac OS X v10.4 and later.
NSComparisonPredicateMBS.NSGreaterThanOrEqualToPredicateOperatorType = 3
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A greater-than-or-equal-to predicate.
Available in Mac OS X v10.4 and later.
NSComparisonPredicateMBS.NSGreaterThanPredicateOperatorType = 2
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A greater-than predicate.
Available in Mac OS X v10.4 and later.
NSComparisonPredicateMBS.NSInPredicateOperatorType = 10
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A predicate to determine if the left hand side is in the right hand side.
For strings, returns true if the left hand side is a substring of the right hand side . For collections, returns true if the left hand side is in the right hand side .
Available in Mac OS X v10.4 and later.
NSComparisonPredicateMBS.NSLessThanOrEqualToPredicateOperatorType = 1
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A less-than-or-equal-to predicate.
Available in Mac OS X v10.4 and later.
NSComparisonPredicateMBS.NSLessThanPredicateOperatorType = 0
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A less-than predicate.
Available in Mac OS X v10.4 and later.
NSComparisonPredicateMBS.NSLikePredicateOperatorType = 7
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A simple subset of the MATCHES predicate, similar in behavior to SQL LIKE.
Available in Mac OS X v10.4 and later.
NSComparisonPredicateMBS.NSMatchesPredicateOperatorType = 6
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A full regular expression matching predicate.
Available in Mac OS X v10.4 and later.
NSComparisonPredicateMBS.NSNormalizedPredicateOption = 4
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
Indicates that the strings to be compared have been preprocessed.
This option supersedes NSCaseInsensitivePredicateOption and NSDiacriticInsensitivePredicateOption, and is intended as a performance optimization option.
You represent this option in a predicate format string using a [n] following a string operation (for example, "WXYZlan" matches[n] ".lan").
Available in Mac OS X v10.7 and later.
These options are supported for LIKE as well as all of the equality/comparison operators.
NSComparisonPredicateMBS.NSNotEqualToPredicateOperatorType = 5
Type | Topic | Plugin | Version |
const | iCloud | MBS MacCloud Plugin | 11.3 |
A not-equal-to predicate.
Available in Mac OS X v10.4 and later.
The items on this page are in the following plugins: MBS MacCloud Plugin.