Instance Method

initWithContainerClassDescription:containerSpecifier:key:test:

Returns an NSWhoseSpecifier object initialized with the given attributes.

Declaration

- (instancetype)initWithContainerClassDescription:(NSScriptClassDescription *)classDesc containerSpecifier:(NSScriptObjectSpecifier *)container key:(NSString *)property test:(NSScriptWhoseTest *)test;

Parameters

classDescription

Class description for the receiver's container object.

specifier

An object specifier for the receiver's container object.

property

The key for the property for which to test.

test

The test condition.

Return Value

An NSWhoseSpecifier object initialized with the given attributes.

Discussion

Invokes the super class’s initWithContainerClassDescription:containerSpecifier:key: and sets the whose test condition to test.

See Also