Instance Method

descriptorAtIndex:

Returns the descriptor at the specified (one-based) position in the receiving descriptor list.

Declaration

- (NSAppleEventDescriptor *)descriptorAtIndex:(NSInteger)index;

Parameters

anIndex

The one-based descriptor list position of the descriptor to return.

Return Value

The descriptor from the specified position (one-based) in the descriptor list, or nil if the specified descriptor cannot be obtained.

See Also

Working With List Descriptors

- insertDescriptor:atIndex:

Inserts a descriptor at the specified (one-based) position in the receiving descriptor list, replacing the existing descriptor, if any, at that position.

- removeDescriptorAtIndex:

Removes the descriptor at the specified (one-based) position in the receiving descriptor list.