Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSCompoundPredicateMBS class.

NSCompoundPredicateMBS.compoundPredicateType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the predicate type for the receiver.

NSCompoundPredicateMBS.Constructor(type as Integer, predicates() as NSPredicateMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the receiver initialized to a given type using predicates from a given array.
Example
dim n1 as NSPredicateMBS = NSPredicateMBS.predicateWithValue(true)
dim n2 as NSPredicateMBS = NSPredicateMBS.predicateWithValue(false)

dim n as NSPredicateMBS = new NSCompoundPredicateMBS(NSCompoundPredicateMBS.kAnd, array(n1,n2))
MsgBox n.predicateFormat

type: The type of the new predicate.
subpredicates: An array of NSPredicate objects.

NSCompoundPredicateMBS.subpredicates as NSPredicateMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the array of the receiver's subpredicates.
Example
dim n1 as NSPredicateMBS = NSPredicateMBS.predicateWithValue(true)
dim n2 as NSPredicateMBS = NSPredicateMBS.predicateWithValue(false)

dim n as new NSCompoundPredicateMBS(NSCompoundPredicateMBS.kAnd, array(n1,n2))

for each x as NSPredicateMBS in n.subpredicates
MsgBox x.predicateFormat
next

The items on this page are in the following plugins: MBS MacCloud Plugin.


The biggest plugin in space...