NSScriptWhoseTest is an abstract class whose sole method is
isTrue(). Two concrete subclasses of
NSScriptWhoseTest generate objects representing Boolean expressions comparing one object with another and objects representing multiple Boolean expressions connected by logical operators (
NOT). These classes are, respectively,
NSLogicalTest. In evaluating itself, an
NSWhoseSpecifier invokes the
isTrue() method of its “test” object.
- macOS 10.10+
You shouldn’t need to subclass
NSScriptWhoseTest, and you should rarely need to subclass one of its subclasses.