O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

NSSpecifierTest — Mac OS X 10.0

Synopsis

This class represents a single Boolean expression. NSSpecifierTest is initialized with the method initWithObjectSpecifier:comparisonOperator:testObject:. This method will initialize the specifier test to compare testObject: with the object specifier by the ...ObjectSpecifier: parameter; the comparison is made using the indicated comparisonOperator:, which is a constant of type NSTestComparisonOperation.

image with no caption

@interface NSSpecifierTest : NSScriptWhoseTest
                                  // Initializers
   - (id)initWithObjectSpecifier:(NSScriptObjectSpecifier *)obj1
                                 comparisonOperator:(NSTestComparisonOperation)compOp 
                                 testObject:(id)obj2;

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required