Instance Method


Returns the receiver’s descriptor for the specified keyword.


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



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

func keywordForDescriptor(at: Int) -> AEKeyword

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

func remove(withKeyword: AEKeyword)

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

func setDescriptor(NSAppleEventDescriptor, forKeyword: AEKeyword)

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