Contents

forKeyword(_:)

Returns the receiver’s descriptor for the specified keyword.

Declaration

func forKeyword(_ keyword: AEKeyword) -> NSAppleEventDescriptor?

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