Instance Method

descriptorForKeyword:

Returns the receiver’s descriptor for the specified keyword.

Declaration

- (NSAppleEventDescriptor *)descriptorForKeyword:(AEKeyword)keyword;

Parameters

keyword

A keyword (a four-character code) that identifies the descriptor to obtain.

Return Value

A descriptor for the specified keyword, or nil if an error occurs.

See Also

Working With Record Descriptors

- keywordForDescriptorAtIndex:

Returns the keyword for the descriptor at the specified (one-based) position in the receiver.

- removeDescriptorWithKeyword:

Removes the receiver’s descriptor identified by the specified keyword.

- setDescriptor:forKeyword:

Adds a descriptor, identified by a keyword, to the receiver.