Returns an NSWhose
object initialized with the given attributes.
SDK
- macOS 10.0+
Framework
- Foundation
Declaration
- (instancetype)initWithContainerClassDescription:(NSScript Class Description *)classDesc containerSpecifier:(NSScript Object Specifier *)container key:(NSString *)property test:(NSScript Whose Test *)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 NSWhose
object initialized with the given attributes.
Discussion
Invokes the super class’s init
and sets the whose test condition to test
.