Instance Method

initWithObjectSpecifier:comparisonOperator:testObject:

Returns a specifier test initialized to evaluate a test object against an object specified by an object specifier using a given comparison operation.

Declaration

- (instancetype)initWithObjectSpecifier:(NSScriptObjectSpecifier *)obj1 comparisonOperator:(NSTestComparisonOperation)compOp testObject:(id)obj2;

Parameters

obj1

An object specifier.

compOp

The comparison operation.

obj2

The object against which to evaluate the object specified by obj1.

Return Value

A specifier test initialized to evaluate (obj2) against an object specified by obj1 using the comparison operation compOp.

See Also