One Logo Pool Ball
Foundation · IOS API REFERENCE

NSCompoundPredicate

class · iOS 3.0+ · SDK 27.1

class NSCompoundPredicate

Members (7)

init · iOS 3.0+

init

TypeScript
static initAndPredicateWithSubpredicates(subpredicates: Array<NSPredicate>): NSCompoundPredicate
Swift declaration
init(andPredicateWithSubpredicates subpredicates: [NSPredicate])
init · iOS 3.0+

init

TypeScript
static initNotPredicateWithSubpredicate(predicate: NSPredicate): NSCompoundPredicate
Swift declaration
init(notPredicateWithSubpredicate predicate: NSPredicate)
init · iOS 3.0+

init

TypeScript
static initOrPredicateWithSubpredicates(subpredicates: Array<NSPredicate>): NSCompoundPredicate
Swift declaration
init(orPredicateWithSubpredicates subpredicates: [NSPredicate])
init · iOS 3.0+

init

TypeScript
static initCoder(coder: NSCoder): (NSCompoundPredicate) | null
Swift declaration
init?(coder: NSCoder)
init · iOS 3.0+

init

TypeScript
static initTypeSubpredicates(type: NSCompoundPredicate_LogicalType, subpredicates: Array<NSPredicate>): NSCompoundPredicate
Swift declaration
init(type: NSCompoundPredicate.LogicalType, subpredicates: [NSPredicate])
get · iOS 3.0+

compoundPredicateType

TypeScript
get compoundPredicateType(): NSCompoundPredicate_LogicalType
Swift declaration
var compoundPredicateType: NSCompoundPredicate.LogicalType { get }
get · iOS 3.0+

subpredicates

TypeScript
get subpredicates(): Array<unknown>
Swift declaration
var subpredicates: [Any] { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NSCompoundPredicate.init()

inherited init: cannot prove legal (class declares 4 custom initializers)

All Foundation types →