1{ Parsed from Foundation.framework NSCompoundPredicate.h } 2 3 4{$ifdef TYPES} 5type 6 NSCompoundPredicatePtr = ^NSCompoundPredicate; 7{$endif} 8 9{$ifdef TYPES} 10type 11 NSCompoundPredicateType = NSUInteger; 12 NSCompoundPredicateTypePtr = ^NSCompoundPredicateType; 13 14const 15 NSNotPredicateType = 0; 16 NSAndPredicateType = 1; 17 NSOrPredicateType = 2; 18{$endif} 19 20{$ifdef CLASSES} 21 22type 23 NSCompoundPredicate = objcclass external (NSPredicate) 24 private 25 _reserved2: pointer; 26 _type: NSUInteger; 27 _subpredicates: NSArray; 28 public 29 function initWithType_subpredicates (type_: NSCompoundPredicateType; subpredicates: NSArray): instancetype; message 'initWithType:subpredicates:'; 30 function compoundPredicateType: NSCompoundPredicateType; message 'compoundPredicateType'; 31 function subpredicates: NSArray; message 'subpredicates'; 32 class function andPredicateWithSubpredicates (subpredicates_: NSArray): NSCompoundPredicate; message 'andPredicateWithSubpredicates:'; 33 class function orPredicateWithSubpredicates (subpredicates_: NSArray): NSCompoundPredicate; message 'orPredicateWithSubpredicates:'; 34 class function notPredicateWithSubpredicate (predicate: NSPredicate): NSCompoundPredicate; message 'notPredicateWithSubpredicate:'; 35 end; 36{$endif} 37 38