DekGenius.com
[ Team LiB ] Previous Section Next Section

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.

figs/cocn_1399.gif

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

Subclasses

NSLogicalTest, NSSpecifierTest

    [ Team LiB ] Previous Section Next Section