NSScriptWhoseTest Mac OS X 10.0

This class is used in Cocoa's scripting system to represent the Boolean expression of an NSScriptWhoseSpecifier. NSScriptWhoseTest is an abstract class that defines only the single method isTrue. This method is invoked to evaluate the expression represented by the NSScriptWhoseTest object, and returns a BOOL. Foundation implements two concrete subclasses of this class: NSLogicalTest and NSSpecifierTest.


@interface NSScriptWhoseTest : NSObject <NSCoding>
 // Instance Methods
   - (BOOL)isTrue;
 // Methods Implementing NSCoding
   - (void)encodeWithCoder:(NSCoder *)aCoder;
   - (id)initWithCoder:(NSCoder *)aDecoder;


NSLogicalTest, NSSpecifierTest

    Part II: API Quick Reference
    Chapter 13. Foundation Classes